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.

Implementations on Foreign Types§

source§

impl SafeModeNotify for ()

Implementors§