Trait frame_support::traits::Time

source ·
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

Object Safety§

This trait is not object safe.

Implementors§