Trait chalkydri::Subsystem

source ·
pub trait Subsystem<'subsys> {
    // Required methods
    fn init() -> Result<Box<Self>, Box<dyn Error>>;
    fn run(&self, rt: Runtime);
}

Required Methods§

source

fn init() -> Result<Box<Self>, Box<dyn Error>>

source

fn run(&self, rt: Runtime)

Object Safety§

This trait is not object safe.

Implementors§