pub enum MaybeTimeOfFlight<T> {
Bare(T),
WithTimeOfFlight(T, CoarseInstant),
}
Expand description
Measure the time of flight between insertion and removal
of a single type T
Variants§
Bare(T)
WithTimeOfFlight(T, CoarseInstant)
Implementations§
source§impl<T> MaybeTimeOfFlight<T>
impl<T> MaybeTimeOfFlight<T>
Trait Implementations§
source§impl<T: Debug> Debug for MaybeTimeOfFlight<T>
impl<T: Debug> Debug for MaybeTimeOfFlight<T>
source§impl<T> Deref for MaybeTimeOfFlight<T>
impl<T> Deref for MaybeTimeOfFlight<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for MaybeTimeOfFlight<T>where T: RefUnwindSafe,
impl<T> Send for MaybeTimeOfFlight<T>where T: Send,
impl<T> Sync for MaybeTimeOfFlight<T>where T: Sync,
impl<T> Unpin for MaybeTimeOfFlight<T>where T: Unpin,
impl<T> UnwindSafe for MaybeTimeOfFlight<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