Now

Trait Now 

Source
pub trait Now {
    // Required method
    fn now(&self) -> Sec;
}
Expand description

Resource that has a time relative to an arbitrary moment.

Required Methods§

Source

fn now(&self) -> Sec

Returns current the time.

Implementors§

Source§

impl Now for Std