Enum tp_chain_spec::ChainType [−][src]
pub enum ChainType { Development, Local, Live, Custom(String), }
Expand description
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ChainType
impl UnwindSafe for ChainType
Blanket Implementations
Mutably borrows from an owned value. Read more