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§
sourcefn subspace_inherent_data(&self) -> Result<Option<InherentType>, Error>
fn subspace_inherent_data(&self) -> Result<Option<InherentType>, Error>
Get Subspace inherent data.
sourcefn replace_subspace_inherent_data(&mut self, new: InherentType)
fn replace_subspace_inherent_data(&mut self, new: InherentType)
Replace Subspace inherent data.