[][src]Trait sc_chain_spec::Group

pub trait Group: Clone + Sized {
    type Fork: Fork<Base = Self>;
    pub fn to_fork(self) -> Self::Fork;
}

A ChainSpec extension.

This trait is implemented automatically by ChainSpecGroup macro.

Associated Types

type Fork: Fork<Base = Self>[src]

An associated type containing fork definition.

Loading content...

Required methods

pub fn to_fork(self) -> Self::Fork[src]

Convert to fork type.

Loading content...

Implementations on Foreign Types

impl Group for Vec<u8>[src]

type Fork = Vec<u8>

impl Group for String[src]

type Fork = String

impl Group for usize[src]

type Fork = usize

impl Group for u64[src]

type Fork = u64

impl Group for u32[src]

type Fork = u32

impl Group for u16[src]

type Fork = u16

impl Group for u8[src]

type Fork = u8

impl Group for ()[src]

type Fork = ()

impl<T: Group> Group for Option<T>[src]

type Fork = Option<T::Fork>

Loading content...

Implementors

Loading content...