Trait sp_consensus_babe::inherents::BabeInherentData
source · 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.