pub trait CxOsApi {
    // Required methods
    fn init_cx_os(&mut self);
    fn spawn_thread<F>(&mut self, f: F)
       where F: FnOnce() + Send + 'static;

    // Provided methods
    fn start_stdin_service(&mut self) { ... }
    fn pre_start() -> bool { ... }
}

Required Methods§

fn init_cx_os(&mut self)

fn spawn_thread<F>(&mut self, f: F)where F: FnOnce() + Send + 'static,

Provided Methods§

fn start_stdin_service(&mut self)

fn pre_start() -> bool

Implementors§

§

impl CxOsApi for Cx