Skip to main content

TimestampInherentData

Trait TimestampInherentData 

Source
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§

Source

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".

Implementations on Foreign Types§

Source§

impl TimestampInherentData for InherentData

Implementors§