pub enum TimeHandlerGuard {
Real,
Mock(TimeHandlerGuard),
}
Variants§
Real
Mock(TimeHandlerGuard)
Trait Implementations§
Source§impl From<TimeHandlerGuard> for TimeHandlerGuard
impl From<TimeHandlerGuard> for TimeHandlerGuard
Source§fn from(guard: TimeHandlerGuard) -> Self
fn from(guard: TimeHandlerGuard) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for TimeHandlerGuard
impl RefUnwindSafe for TimeHandlerGuard
impl Send for TimeHandlerGuard
impl Sync for TimeHandlerGuard
impl Unpin for TimeHandlerGuard
impl UnwindSafe for TimeHandlerGuard
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