Trait 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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.