ManagedContext

Trait ManagedContext 

Source
pub trait ManagedContext: Send {
    // Required methods
    fn is_alive(&self) -> bool;
    fn shutdown(&mut self);
    fn stop(&mut self);
}
Expand description

The main features of composable block’s context.

It could be interrupted and contains a method to check a life status of a composable block.

Required Methods§

Source

fn is_alive(&self) -> bool

Source

fn shutdown(&mut self)

Marks a context as interrupted.

Source

fn stop(&mut self)

Implementors§