referrerpolicy=no-referrer-when-downgrade

Trait polkadot_sdk_frame::traits::SafeModeNotify

pub trait SafeModeNotify {
    // Required methods
    fn entered();
    fn exited();
}
Expand description

A trait to notify when the runtime enters or exits safe mode.

Required Methods§

fn entered()

Called when the runtime enters safe mode.

fn exited()

Called when the runtime exits safe mode.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl SafeModeNotify for ()

Implementors§