Enum sp_chain_spec::ChainType [−][src]
pub enum ChainType {
Development,
Local,
Live,
Custom(String),
}The type of a chain.
This can be used by tools to determine the type of a chain for displaying additional information or enabling additional features.
Variants
A development chain that runs mainly on one node.
A local chain that runs locally on multiple nodes for testing purposes.
A live chain.
Custom(String)Some custom chain type.
Trait Implementations
impl<'de> Deserialize<'de> for ChainType[src]
impl<'de> Deserialize<'de> for ChainType[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,