referrerpolicy=no-referrer-when-downgrade

Trait frame_support::traits::SafeModeNotify

source ·
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§

source

fn entered()

Called when the runtime enters safe mode.

source

fn exited()

Called when the runtime exits safe mode.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl SafeModeNotify for ()

Implementors§