DeviceProxyInterface

Trait DeviceProxyInterface 

Source
pub trait DeviceProxyInterface: Send + Sync {
    type InjectResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn inject(&self, events: Vec<Event>) -> Self::InjectResponseFut;
    fn inject_events(&self, events: Vec<Event>) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

Source

fn inject(&self, events: Vec<Event>) -> Self::InjectResponseFut

Source

fn inject_events(&self, events: Vec<Event>) -> Result<(), Error>

Implementors§