Trait basilisk::service::IdentifyVariant
source · pub trait IdentifyVariant {
fn is_basilisk_runtime(&self) -> bool;
fn is_testing_runtime(&self) -> bool;
}
Expand description
Can be called for a Configuration
to check what node it belongs to.
Required Methods§
sourcefn is_basilisk_runtime(&self) -> bool
fn is_basilisk_runtime(&self) -> bool
Returns if this is a configuration for the Basilisk
node.
sourcefn is_testing_runtime(&self) -> bool
fn is_testing_runtime(&self) -> bool
Returns if this is a configuration for the Testing Basilisk
node.