pub trait SubspaceInherentData {
    // Required methods
    fn subspace_inherent_data(&self) -> Result<Option<InherentType>, Error>;
    fn replace_subspace_inherent_data(&mut self, new: InherentType);
}
Expand description

Auxiliary trait to extract Subspace inherent data.

Required Methods§

source

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

Get Subspace inherent data.

source

fn replace_subspace_inherent_data(&mut self, new: InherentType)

Replace Subspace inherent data.

Implementations on Foreign Types§

source§

impl SubspaceInherentData for InherentData

Implementors§