pub struct TrustedEngineTime { /* private fields */ }Expand description
HMAC-established notion of an authoritative engine’s boots/time tuple.
Discovery never constructs this value. It is created and advanced only by RFC 3414 Section 3.2 Step 7(b) after a message’s HMAC has been verified.
Implementations§
Source§impl TrustedEngineTime
impl TrustedEngineTime
Sourcepub fn received_time_base(&self) -> u32
pub fn received_time_base(&self) -> u32
The engine time at the last trusted high-water update.
Sourcepub fn latest_received_time(&self) -> u32
pub fn latest_received_time(&self) -> u32
The greatest authenticated engine time received for the current boots.
Trait Implementations§
Source§impl Clone for TrustedEngineTime
impl Clone for TrustedEngineTime
Source§fn clone(&self) -> TrustedEngineTime
fn clone(&self) -> TrustedEngineTime
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 moreAuto Trait Implementations§
impl Freeze for TrustedEngineTime
impl RefUnwindSafe for TrustedEngineTime
impl Send for TrustedEngineTime
impl Sync for TrustedEngineTime
impl Unpin for TrustedEngineTime
impl UnsafeUnpin for TrustedEngineTime
impl UnwindSafe for TrustedEngineTime
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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 more