Struct substrate_prometheus_endpoint::SourcedMetric [−][src]
pub struct SourcedMetric<T, S> { /* fields omitted */ }
Expand description
A metric whose values are obtained from an existing source, instead of being independently recorded.
Implementations
Trait Implementations
Auto Trait Implementations
impl<T, S> RefUnwindSafe for SourcedMetric<T, S> where
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, S> Send for SourcedMetric<T, S> where
S: Send,
T: Send,
impl<T, S> Sync for SourcedMetric<T, S> where
S: Sync,
T: Sync,
impl<T, S> Unpin for SourcedMetric<T, S> where
S: Unpin,
T: Unpin,
impl<T, S> UnwindSafe for SourcedMetric<T, S> where
S: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more