pub trait BabeInherentData {
// Required methods
fn babe_inherent_data(&self) -> Result<Option<InherentType>, Error>;
fn babe_replace_inherent_data(&mut self, new: InherentType);
}
Expand description
Auxiliary trait to extract BABE inherent data.
Required Methods§
Sourcefn babe_inherent_data(&self) -> Result<Option<InherentType>, Error>
fn babe_inherent_data(&self) -> Result<Option<InherentType>, Error>
Get BABE inherent data.
Sourcefn babe_replace_inherent_data(&mut self, new: InherentType)
fn babe_replace_inherent_data(&mut self, new: InherentType)
Replace BABE inherent data.