pub struct MobileClock;Expand description
Mobile-suitable Clock implementation that reads the device
wall-clock via SystemTime::now().
Implementations§
Source§impl MobileClock
impl MobileClock
Trait Implementations§
Source§impl Clock for MobileClock
impl Clock for MobileClock
Source§fn now_unix_secs(&self) -> u64
fn now_unix_secs(&self) -> u64
Current Unix timestamp in seconds.
Source§impl Clone for MobileClock
impl Clone for MobileClock
impl Copy for MobileClock
Source§impl Debug for MobileClock
impl Debug for MobileClock
Auto Trait Implementations§
impl Freeze for MobileClock
impl RefUnwindSafe for MobileClock
impl Send for MobileClock
impl Sync for MobileClock
impl Unpin for MobileClock
impl UnsafeUnpin for MobileClock
impl UnwindSafe for MobileClock
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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