Trait sp_consensus_aura::inherents::AuraInherentData
source · pub trait AuraInherentData {
// Required methods
fn aura_inherent_data(&self) -> Result<Option<InherentType>, Error>;
fn aura_replace_inherent_data(&mut self, new: InherentType);
}
Expand description
Auxiliary trait to extract Aura inherent data.
Required Methods§
sourcefn aura_inherent_data(&self) -> Result<Option<InherentType>, Error>
fn aura_inherent_data(&self) -> Result<Option<InherentType>, Error>
Get aura inherent data.
sourcefn aura_replace_inherent_data(&mut self, new: InherentType)
fn aura_replace_inherent_data(&mut self, new: InherentType)
Replace aura inherent data.