pub struct SystemTimeSource;
Expand description
A system clock based time source
Trait Implementations§
Source§impl TimeSource for SystemTimeSource
impl TimeSource for SystemTimeSource
Source§fn get_current_time_millis(&self) -> u64
fn get_current_time_millis(&self) -> u64
Returns the current time in milliseconds since Unix epoch.
Auto Trait Implementations§
impl Freeze for SystemTimeSource
impl RefUnwindSafe for SystemTimeSource
impl Send for SystemTimeSource
impl Sync for SystemTimeSource
impl Unpin for SystemTimeSource
impl UnwindSafe for SystemTimeSource
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