pub trait Brain {
    // Required methods
    fn run(
        &mut self,
        runtime: &Runtime,
        io_bundle: &mut IOBundle,
        time_provider: &impl TimeProvider
    ) -> Result<(), BrainFailure>;
    fn reload_config(&mut self);
}

Required Methods§

source

fn run( &mut self, runtime: &Runtime, io_bundle: &mut IOBundle, time_provider: &impl TimeProvider ) -> Result<(), BrainFailure>

source

fn reload_config(&mut self)

Object Safety§

This trait is not object safe.

Implementors§