Struct fuel_core_metrics::future_tracker::ExecutionTime
source · pub struct ExecutionTime<Output> {
pub busy: Duration,
pub idle: Duration,
pub output: Output,
}
Expand description
The execution report of the future, generated by FutureTracker
.
Fields§
§busy: Duration
The time spent for real action of the future.
idle: Duration
The idle time of the future.
output: Output
The output of the future.
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