pub trait MigrateDisabledValidators {
// Required methods
fn peek_disabled() -> Vec<(u32, OffenceSeverity)>;
fn take_disabled() -> Vec<(u32, OffenceSeverity)>;
}
Required Methods§
Sourcefn peek_disabled() -> Vec<(u32, OffenceSeverity)>
fn peek_disabled() -> Vec<(u32, OffenceSeverity)>
Peek the list of disabled validators and their offence severity.
Sourcefn take_disabled() -> Vec<(u32, OffenceSeverity)>
fn take_disabled() -> Vec<(u32, OffenceSeverity)>
Return the list of disabled validators and their offence severity, removing them from the underlying storage.
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.