referrerpolicy=no-referrer-when-downgrade

Trait polkadot_sdk_frame::traits::Time

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

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

Required Associated Types§

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

Required Methods§

fn now() -> Self::Moment

Object Safety§

This trait is not object safe.

Implementors§