Trait Application

Source
pub trait Application {
    // Required method
    fn run(
        &mut self,
        device: &mut impl Device,
    ) -> impl Future<Output = Result<(), ()>>;
}

Required Methods§

Source

fn run( &mut self, device: &mut impl Device, ) -> impl Future<Output = Result<(), ()>>

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§