pub struct SystemClock(/* private fields */);
Implementations§
Source§impl SystemClock
impl SystemClock
pub const fn default() -> Self
pub const fn accelerated(scale: u64) -> Self
Trait Implementations§
Source§impl Clock for SystemClock
impl Clock for SystemClock
fn current_timestamp(&self) -> u64
Auto Trait Implementations§
impl Freeze for SystemClock
impl RefUnwindSafe for SystemClock
impl Send for SystemClock
impl Sync for SystemClock
impl Unpin for SystemClock
impl UnwindSafe for SystemClock
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