pub enum GestureError {
Hid(HidError),
DeviceNotFound,
DeviceUnreachable(u8),
Hidpp(String),
}Expand description
Why a capture session could not start (or had to stop).
Variants§
Hid(HidError)
HID transport-level failure while enumerating or opening the device.
DeviceNotFound
No connected device matched the capture route.
DeviceUnreachable(u8)
The device at the target index did not answer HID++.
Hidpp(String)
A HID++ feature call returned an error; inner string carries context.
Trait Implementations§
Source§impl Debug for GestureError
impl Debug for GestureError
Source§impl Display for GestureError
impl Display for GestureError
Source§impl Error for GestureError
impl Error for GestureError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for GestureError
impl !UnwindSafe for GestureError
impl Freeze for GestureError
impl Send for GestureError
impl Sync for GestureError
impl Unpin for GestureError
impl UnsafeUnpin for GestureError
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