pub trait Driver: 'static {
// Required methods
fn handle(&self) -> Box<dyn Notify>;
fn run(&self, rt: &Runtime) -> Result<()>;
fn clear(&self);
}Required Methods§
fn handle(&self) -> Box<dyn Notify>
fn run(&self, rt: &Runtime) -> Result<()>
fn clear(&self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".