Trait sp_consensus_babe::inherents::BabeInherentData [−][src]
pub trait BabeInherentData { 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
fn babe_inherent_data(&self) -> Result<Option<InherentType>, Error>
fn babe_inherent_data(&self) -> Result<Option<InherentType>, Error>
Get BABE inherent data.
fn babe_replace_inherent_data(&mut self, new: InherentType)
fn babe_replace_inherent_data(&mut self, new: InherentType)
Replace BABE inherent data.