pub struct MetricTimer { /* private fields */ }Expand description
Records cancellation when a future is dropped before an explicit finish. Captures the original dispatch so task migration/drop cannot split a series.
Implementations§
Source§impl MetricTimer
impl MetricTimer
Trait Implementations§
Source§impl Drop for MetricTimer
impl Drop for MetricTimer
Auto Trait Implementations§
impl !RefUnwindSafe for MetricTimer
impl !UnwindSafe for MetricTimer
impl Freeze for MetricTimer
impl Send for MetricTimer
impl Sync for MetricTimer
impl Unpin for MetricTimer
impl UnsafeUnpin for MetricTimer
Blanket Implementations§
impl<T> ArtifactLease for T
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