referrerpolicy=no-referrer-when-downgrade

Trait IdentifyVariant

Source
pub trait IdentifyVariant {
    // Required method
    fn is_test(&self) -> bool;
}
Expand description

Can be called for a Configuration to check if it is a configuration for the Test network.

Required Methods§

Source

fn is_test(&self) -> bool

Returns if this is a configuration for the Test network.

Implementations on Foreign Types§

Source§

impl IdentifyVariant for Box<dyn ChainSpec>

Source§

fn is_test(&self) -> bool

Implementors§