pub trait TimestampInherentData {
// Required method
fn timestamp_inherent_data(&self) -> Result<Option<InherentType>, Error>;
}Expand description
Auxiliary trait to extract timestamp inherent data.
Required Methods§
Sourcefn timestamp_inherent_data(&self) -> Result<Option<InherentType>, Error>
fn timestamp_inherent_data(&self) -> Result<Option<InherentType>, Error>
Get timestamp inherent data.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".