pub enum TimeGuard<S: Debug> {
Disabled,
Enabled {
name: S,
start: Instant,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for TimeGuard<S>where
S: Freeze,
impl<S> RefUnwindSafe for TimeGuard<S>where
S: RefUnwindSafe,
impl<S> Send for TimeGuard<S>where
S: Send,
impl<S> Sync for TimeGuard<S>where
S: Sync,
impl<S> Unpin for TimeGuard<S>where
S: Unpin,
impl<S> UnwindSafe for TimeGuard<S>where
S: 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