pub trait HidBackend: Send + Sync {
// Required methods
fn send_report(&self, report: &[u8]) -> Result<()>;
fn destroy(self: Box<Self>) -> Result<()>;
}Expand description
HID backend trait
Required Methods§
Sourcefn send_report(&self, report: &[u8]) -> Result<()>
fn send_report(&self, report: &[u8]) -> Result<()>
Send HID report