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§

source

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

Get BABE inherent data.

source

fn babe_replace_inherent_data(&mut self, new: InherentType)

Replace BABE inherent data.

Implementations on Foreign Types§

source§

impl BabeInherentData for InherentData

Implementors§