#[non_exhaustive]pub enum Command {
DeviceOpen(DeviceOpen),
DeviceClose(DeviceClose),
DeviceWrite(DeviceWrite),
DeviceRead(DeviceRead),
DeviceSendFeatureReport(DeviceSendFeatureReport),
DeviceGetFeatureReport(DeviceGetFeatureReport),
DeviceGetVendorString(DeviceGetVendorString),
DeviceGetProductString(DeviceGetProductString),
DeviceGetSerialNumberString(DeviceGetSerialNumberString),
DeviceStartInputReports(DeviceStartInputReports),
DeviceRequestFullReport(DeviceRequestFullReport),
DeviceDisconnect(DeviceDisconnect),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DeviceOpen(DeviceOpen)
DeviceClose(DeviceClose)
DeviceWrite(DeviceWrite)
DeviceRead(DeviceRead)
DeviceSendFeatureReport(DeviceSendFeatureReport)
DeviceGetFeatureReport(DeviceGetFeatureReport)
DeviceGetVendorString(DeviceGetVendorString)
DeviceGetProductString(DeviceGetProductString)
DeviceGetSerialNumberString(DeviceGetSerialNumberString)
DeviceStartInputReports(DeviceStartInputReports)
DeviceRequestFullReport(DeviceRequestFullReport)
DeviceDisconnect(DeviceDisconnect)
Trait Implementations§
source§impl PartialEq for Command
impl PartialEq for Command
impl Oneof for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl !Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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