pub enum OutputEvent {
Start {
dev_flags: DevFlags,
},
Stop,
Open,
Close,
Output {
data: Vec<u8>,
},
GetReport {
id: u32,
report_number: u8,
report_type: ReportType,
},
SetReport {
id: u32,
report_number: u8,
report_type: ReportType,
data: Vec<u8>,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OutputEvent
impl RefUnwindSafe for OutputEvent
impl Send for OutputEvent
impl Sync for OutputEvent
impl Unpin for OutputEvent
impl UnwindSafe for OutputEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more