crb_runtime::interruptor

Trait Interruptor

Source
pub trait Interruptor: Send + 'static {
    // Required method
    fn stop(&self, force: bool) -> Result<(), Error>;
}
Expand description

The interruptor used internally by a supervisor context or by a standalone routine.

Required Methods§

Source

fn stop(&self, force: bool) -> Result<(), Error>

Interrupte a trackable runtime.

Implementations on Foreign Types§

Source§

impl Interruptor for AbortHandle

Source§

fn stop(&self, _force: bool) -> Result<(), Error>

Implementors§