Struct metered_channel::oneshot::OutputWithMeasurements [−][src]
pub struct OutputWithMeasurements<T> { /* fields omitted */ }
Expand description
A wrapping type for the actual type T
that is sent with the
oneshot yet allow to attach Measurements
to it.
Implements AsRef
besides others for easier access to the inner,
wrapped type.
Implementations
Trait Implementations
Obtain a set of measurements represented by the Measurements
type.
Auto Trait Implementations
impl<T> RefUnwindSafe for OutputWithMeasurements<T> where
T: RefUnwindSafe,
impl<T> Send for OutputWithMeasurements<T> where
T: Send,
impl<T> Sync for OutputWithMeasurements<T> where
T: Sync,
impl<T> Unpin for OutputWithMeasurements<T> where
T: Unpin,
impl<T> UnwindSafe for OutputWithMeasurements<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. 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