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