Struct substrate_prometheus_endpoint::SourcedMetric [−][src]
pub struct SourcedMetric<T, S> { /* fields omitted */ }A metric whose values are obtained from an existing source, instead of being independently recorded.
Implementations
impl<T: SourcedType, S: MetricSource> SourcedMetric<T, S>[src]
impl<T: SourcedType, S: MetricSource> SourcedMetric<T, S>[src]Trait Implementations
impl<T: Clone, S: Clone> Clone for SourcedMetric<T, S>[src]
impl<T: Clone, S: Clone> Clone for SourcedMetric<T, S>[src]fn clone(&self) -> SourcedMetric<T, S>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<T: SourcedType, S: MetricSource> Collector for SourcedMetric<T, S>[src]
impl<T: SourcedType, S: MetricSource> Collector for SourcedMetric<T, S>[src]Auto Trait Implementations
impl<T, S> RefUnwindSafe for SourcedMetric<T, S> where
S: RefUnwindSafe,
T: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, S> Send for SourcedMetric<T, S> where
S: Send,
T: Send,
S: Send,
T: Send,
impl<T, S> Sync for SourcedMetric<T, S> where
S: Sync,
T: Sync,
S: Sync,
T: Sync,
impl<T, S> Unpin for SourcedMetric<T, S> where
S: Unpin,
T: Unpin,
S: Unpin,
T: Unpin,
impl<T, S> UnwindSafe for SourcedMetric<T, S> where
S: UnwindSafe,
T: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> WithSubscriber for T[src]
impl<T> WithSubscriber for T[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>, [src]
S: Into<Dispatch>,