referrerpolicy=no-referrer-when-downgrade

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§

source

fn aura_inherent_data(&self) -> Result<Option<InherentType>, Error>

Get aura inherent data.

source

fn aura_replace_inherent_data(&mut self, new: InherentType)

Replace aura inherent data.

Implementations on Foreign Types§

source§

impl AuraInherentData for InherentData

Implementors§