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

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

Required Associated Types§

source

type Moment: AtLeast32Bit + Parameter + Default + Copy + MaxEncodedLen

Required Methods§

source

fn now() -> Self::Moment

Implementors§