pub trait OutputDev: Dev {
const OUT_LEN: u8;
// Required methods
fn set_output(&mut self, v: &[u8]);
fn output(&self) -> &[u8] ⓘ;
}Expand description
HID that receives output reports.
Required Associated Constants§
Sourceconst OUT_LEN: u8
const OUT_LEN: u8
Length of the slice expected by Self::set_output().
Required Methods§
Sourcefn set_output(&mut self, v: &[u8])
fn set_output(&mut self, v: &[u8])
Sets the current output report.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".