pub trait Time {
    type Moment: AtLeast32Bit + Parameter + Default + Copy + MaxEncodedLen;

    // Required method
    fn now() -> Self::Moment;
}

Required Associated Types§

Required Methods§

source

fn now() -> Self::Moment

Implementors§