Trait moonbeam_service::IdentifyVariant
source · 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.