pub enum ClockSource {
Host,
Rtc,
BuildDate,
Manual,
Network,
}Expand description
Provenance claimed by a trusted runtime caller, not an authentication mechanism.
Variants§
Host
Rtc
BuildDate
The firmware’s build date, used as the fallback epoch when no real-time clock, network or manual source established UTC. It is never written back to a real-time clock.
Manual
Network
Trait Implementations§
Source§impl Clone for ClockSource
impl Clone for ClockSource
Source§fn clone(&self) -> ClockSource
fn clone(&self) -> ClockSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClockSource
impl Debug for ClockSource
Source§impl PartialEq for ClockSource
impl PartialEq for ClockSource
Source§fn eq(&self, other: &ClockSource) -> bool
fn eq(&self, other: &ClockSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ClockSource
impl Eq for ClockSource
impl StructuralPartialEq for ClockSource
Auto Trait Implementations§
impl Freeze for ClockSource
impl RefUnwindSafe for ClockSource
impl Send for ClockSource
impl Sync for ClockSource
impl Unpin for ClockSource
impl UnsafeUnpin for ClockSource
impl UnwindSafe for ClockSource
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