Trait button_driver::instant::InstantProvider  
source · pub trait InstantProvider<D = Duration>{
    // Required method
    fn now() -> Self;
    // Provided method
    fn elapsed(&self) -> D { ... }
}Expand description
An abstraction for retrieving the current time.
The underlying counter shell be monotonic in order for the crate to operate correctly.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.