pub struct StdClock;Available on crate feature
std only.Expand description
The system wall clock, in the Matter epoch.
Trait Implementations§
Source§impl Clock for StdClock
impl Clock for StdClock
Source§fn utc(&self) -> Option<u64>
fn utc(&self) -> Option<u64>
Microseconds since the Matter epoch — 2000-01-01 00:00:00 UTC — or
None when the
node does not know the time.Source§fn granularity(&self) -> Granularity
fn granularity(&self) -> Granularity
How precise
Clock::utc is, as the Time Synchronization cluster’s
Granularity enumeration.impl Copy for StdClock
Auto Trait Implementations§
impl Forget for StdClock
impl Freeze for StdClock
impl Move for StdClock
impl RefUnwindSafe for StdClock
impl Send for StdClock
impl Sync for StdClock
impl Unpin for StdClock
impl UnsafeUnpin for StdClock
impl UnwindSafe for StdClock
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