Skip to main content

TimeFetcher

Trait TimeFetcher 

Source
pub trait TimeFetcher {
    // Required methods
    fn get_monotonic(&self) -> MonotonicInstant;
    fn get_boot(&self) -> BootInstant;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§