crb_runtime::runtime

Trait Interruptor

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

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

Required Methods§

Source

fn interrupt_trackable(&self) -> Result<(), Error>

Interrupte a trackable runtime.

Implementations on Foreign Types§

Source§

impl Interruptor for AbortHandle

Implementors§