pub trait IdentifyVariant {
// Required methods
fn is_moonbase(&self) -> bool;
fn is_moonbeam(&self) -> bool;
fn is_moonriver(&self) -> bool;
fn is_dev(&self) -> bool;
}Expand description
Can be called for a Configuration to check if it is a configuration for
the Moonbeam network.
Required Methods§
Sourcefn is_moonbase(&self) -> bool
fn is_moonbase(&self) -> bool
Returns true if this is a configuration for the Moonbase network.
Sourcefn is_moonbeam(&self) -> bool
fn is_moonbeam(&self) -> bool
Returns true if this is a configuration for the Moonbeam network.
Sourcefn is_moonriver(&self) -> bool
fn is_moonriver(&self) -> bool
Returns true if this is a configuration for the Moonriver network.