pub struct ExecutionTime<Output> { /* private fields */ }
Expand description
The execution report of the future, generated by FutureTracker
.
Implementations§
source§impl<Output> ExecutionTime<Output>
impl<Output> ExecutionTime<Output>
sourcepub fn extract(self, metric: &FuturesMetrics) -> Output
pub fn extract(self, metric: &FuturesMetrics) -> Output
Extracts the future output and records the execution report into the metrics.
Trait Implementations§
Auto Trait Implementations§
impl<Output> Freeze for ExecutionTime<Output>where
Output: Freeze,
impl<Output> RefUnwindSafe for ExecutionTime<Output>where
Output: RefUnwindSafe,
impl<Output> Send for ExecutionTime<Output>where
Output: Send,
impl<Output> Sync for ExecutionTime<Output>where
Output: Sync,
impl<Output> Unpin for ExecutionTime<Output>where
Output: Unpin,
impl<Output> UnwindSafe for ExecutionTime<Output>where
Output: 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