BronzeRuntime

Trait BronzeRuntime 

Source
pub trait BronzeRuntime {
    // Required method
    fn run(&self, runnable: impl Runnable, report_msg: bool);

    // Provided method
    fn run_safe<F>(&self, runnable: F, report_msg: bool)
       where F: Runnable + Send + Sync + 'static { ... }
}

Required Methods§

Source

fn run(&self, runnable: impl Runnable, report_msg: bool)

Provided Methods§

Source

fn run_safe<F>(&self, runnable: F, report_msg: bool)
where F: Runnable + Send + Sync + 'static,

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.

Implementors§