Skip to main content

TrustedUnixClock

Trait TrustedUnixClock 

Source
pub trait TrustedUnixClock {
    // Required method
    fn now_unix(&mut self) -> Result<u64, AuthorizationError>;
}

Required Methods§

Source

fn now_unix(&mut self) -> Result<u64, AuthorizationError>

Trusted anti-rollback Unix seconds. This timestamp is not supplied by the request or inferred from the sensor’s untrusted metadata.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§