pub trait GetMoment<Moment> {
// Required method
fn get_moment() -> Option<Moment>;
}Expand description
Source of the current block’s moment
Required Methods§
Sourcefn get_moment() -> Option<Moment>
fn get_moment() -> Option<Moment>
Returns the current block’s moment
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.