pub trait IdentifyVariant {
    fn is_polkadot(&self) -> bool;
    fn is_kusama(&self) -> bool;
    fn is_westend(&self) -> bool;
    fn is_rococo(&self) -> bool;
    fn is_wococo(&self) -> bool;
    fn is_versi(&self) -> bool;
    fn is_dev(&self) -> bool;
}
Expand description

Can be called for a Configuration to identify which network the configuration targets.

Required Methods§

Returns if this is a configuration for the Polkadot network.

Returns if this is a configuration for the Kusama network.

Returns if this is a configuration for the Westend network.

Returns if this is a configuration for the Rococo network.

Returns if this is a configuration for the Wococo test network.

Returns if this is a configuration for the Versi test network.

Returns true if this configuration is for a development network.

Implementations on Foreign Types§

Implementors§