CommandExtSync

Trait CommandExtSync 

Source
pub trait CommandExtSync: SyncDevice {
    // Provided methods
    fn execute_command<C, R, E>(&mut self, cmd: &C) -> Result<R, E>
       where C: SyncCommand<Ret = R, Err = E> { ... }
    fn execute_commands<C, E>(&mut self, cmd: &[C]) -> Result<(), E>
       where C: SyncCommand<Err = E> { ... }
}

Provided Methods§

Source

fn execute_command<C, R, E>(&mut self, cmd: &C) -> Result<R, E>
where C: SyncCommand<Ret = R, Err = E>,

Source

fn execute_commands<C, E>(&mut self, cmd: &[C]) -> Result<(), E>
where C: SyncCommand<Err = E>,

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§