Skip to main content

ClockNow

Trait ClockNow 

Source
pub trait ClockNow {
    // Required method
    fn now(&self) -> DateTime;
}

Required Methods§

Source

fn now(&self) -> DateTime

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§