pub enum TimeSource {
Show 17 variants
None,
Unknown,
Admin,
NodeTimeCluster,
NonMatterSNTP,
NonMatterNTP,
MatterSNTP,
MatterNTP,
MixedNTP,
NonMatterSNTPNTS,
NonMatterNTPNTS,
MatterSNTPNTS,
MatterNTPNTS,
MixedNTPNTS,
CloudSource,
PTP,
GNSS,
}Expand description
The source of the current UTC time.
The variants are the ones of the Time Synchronization cluster.
Variants§
None
Unknown
Admin
NodeTimeCluster
NonMatterSNTP
NonMatterNTP
MatterSNTP
MatterNTP
MixedNTP
NonMatterSNTPNTS
NonMatterNTPNTS
MatterSNTPNTS
MatterNTPNTS
MixedNTPNTS
CloudSource
PTP
GNSS
Trait Implementations§
Source§impl Clone for TimeSource
impl Clone for TimeSource
impl Copy for TimeSource
Source§impl Debug for TimeSource
impl Debug for TimeSource
impl Eq for TimeSource
Source§impl Hash for TimeSource
impl Hash for TimeSource
Source§impl PartialEq for TimeSource
impl PartialEq for TimeSource
impl StructuralPartialEq for TimeSource
Auto Trait Implementations§
impl Forget for TimeSource
impl Freeze for TimeSource
impl Move for TimeSource
impl RefUnwindSafe for TimeSource
impl Send for TimeSource
impl Sync for TimeSource
impl Unpin for TimeSource
impl UnsafeUnpin for TimeSource
impl UnwindSafe for TimeSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, I> IntoFallibleInit<T> for Iwhere
I: Init<T>,
impl<T, I> IntoFallibleInit<T> for Iwhere
I: Init<T>,
Source§fn into_fallible<E>(self) -> impl Init<T, E>
fn into_fallible<E>(self) -> impl Init<T, E>
Convert the infallible initializer to a fallible one.