Skip to main content

SubspaceInherentData

Trait SubspaceInherentData 

Source
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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl SubspaceInherentData for InherentData

Implementors§