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)
Provided Methods§
fn start_stdin_service(&mut self)
fn pre_start() -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.