Type Definition sc_chain_spec::NoExtension [−][src]
type NoExtension = Option<()>;
A type denoting empty extensions.
We use Option here since () is not flattenable by serde.
Trait Implementations
impl Extension for NoExtension[src]
impl Extension for NoExtension[src]type Forks = Self
fn get<T: 'static>(&self) -> Option<&T>[src]
fn get_any(&self, _t: TypeId) -> &dyn Any[src]
fn forks<BlockNumber, T>(&self) -> Option<Forks<BlockNumber, T>> where
BlockNumber: Ord + Clone + 'static,
T: Group + 'static,
<Self::Forks as IsForks>::Extension: Extension,
<<Self::Forks as IsForks>::Extension as Group>::Fork: Extension, [src]
BlockNumber: Ord + Clone + 'static,
T: Group + 'static,
<Self::Forks as IsForks>::Extension: Extension,
<<Self::Forks as IsForks>::Extension as Group>::Fork: Extension,