pub struct OutputWithMeasurements<T> { /* private fields */ }
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§
source§impl<T> OutputWithMeasurements<T>
impl<T> OutputWithMeasurements<T>
Trait Implementations§
source§impl<T> AsRef<T> for OutputWithMeasurements<T>
impl<T> AsRef<T> for OutputWithMeasurements<T>
source§impl<T: Clone> Clone for OutputWithMeasurements<T>
impl<T: Clone> Clone for OutputWithMeasurements<T>
source§fn clone(&self) -> OutputWithMeasurements<T>
fn clone(&self) -> OutputWithMeasurements<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug> Debug for OutputWithMeasurements<T>
impl<T: Debug> Debug for OutputWithMeasurements<T>
source§impl<T> Deref for OutputWithMeasurements<T>
impl<T> Deref for OutputWithMeasurements<T>
source§impl<T> Measurable for OutputWithMeasurements<T>
impl<T> Measurable for OutputWithMeasurements<T>
source§fn measurements(&self) -> Measurements
fn measurements(&self) -> Measurements
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more