pub struct UtcInstant {}
Expand description
UtcInstant instances return the Rust system clock value each time now() is called.
Implementations§
Source§impl UtcInstant
impl UtcInstant
pub fn new() -> UtcInstant
Trait Implementations§
Source§impl Debug for UtcInstant
impl Debug for UtcInstant
Source§impl TimeSource for UtcInstant
impl TimeSource for UtcInstant
Auto Trait Implementations§
impl Freeze for UtcInstant
impl RefUnwindSafe for UtcInstant
impl Send for UtcInstant
impl Sync for UtcInstant
impl Unpin for UtcInstant
impl UnwindSafe for UtcInstant
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