pub struct MockTimeGuard { /* private fields */ }Expand description
RAII guard for scoped mock time
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MockTimeGuard
impl RefUnwindSafe for MockTimeGuard
impl Send for MockTimeGuard
impl Sync for MockTimeGuard
impl Unpin for MockTimeGuard
impl UnwindSafe for MockTimeGuard
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