pub trait UnixTime {
    // Required method
    fn now() -> Duration;
}
Expand description

Trait to deal with unix time.

Required Methods§

source

fn now() -> Duration

Return duration since SystemTime::UNIX_EPOCH.

Implementors§