Trait forest_filecoin::utils::clock::Clock

source ·
pub trait Clock<Tz: TimeZone> {
    // Required method
    fn now() -> DateTime<Tz>;
}

Required Methods§

source

fn now() -> DateTime<Tz>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Clock<Utc> for Utc

source§

fn now() -> DateTime<Self>

Implementors§