subspace_runtime_primitives

Trait RewardsEnabled

source
pub trait RewardsEnabled {
    // Required method
    fn rewards_enabled() -> bool;
}
Expand description

A trait for determining whether rewards are enabled or not

Required Methods§

source

fn rewards_enabled() -> bool

Determine whether rewards are enabled or not

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§