pub struct TestNow { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Now for TestNow
impl Now for TestNow
fn system_time(&self) -> SystemTime
Auto Trait Implementations§
impl !RefUnwindSafe for TestNow
impl !UnwindSafe for TestNow
impl Freeze for TestNow
impl Send for TestNow
impl Sync for TestNow
impl Unpin for TestNow
impl UnsafeUnpin for TestNow
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