Enum uhid_virt::OutputEvent
source · pub enum OutputEvent {
Start {
dev_flags: Vec<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>,
},
}
Expand description
See https://www.kernel.org/doc/html/latest/hid/uhid.html#read
Variants§
Trait Implementations§
source§impl TryFrom<uhid_event> for OutputEvent
impl TryFrom<uhid_event> for OutputEvent
§type Error = StreamError
type Error = StreamError
The type returned in the event of a conversion error.
Auto Trait Implementations§
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