pub enum RequestError {
RequestFailed(PipeError),
DeviceDisconnected,
InvalidResponse,
NoSupportedInterface,
}Expand description
Errors that can occur during UAC request handling.
Variants§
RequestFailed(PipeError)
The request failed due to a pipe error.
DeviceDisconnected
The device was disconnected during the operation.
InvalidResponse
The device returned an invalid or unexpected response.
NoSupportedInterface
No supported interface was found on the device.
Trait Implementations§
Source§impl Debug for RequestError
impl Debug for RequestError
Auto Trait Implementations§
impl Freeze for RequestError
impl RefUnwindSafe for RequestError
impl Send for RequestError
impl Sync for RequestError
impl Unpin for RequestError
impl UnwindSafe for RequestError
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