pub enum GipError {
Transfer(PipeError),
NoInterface,
NoPipe,
UnsupportedDevice,
}Expand description
GIP host class driver error.
Variants§
Transfer(PipeError)
USB transfer error.
NoInterface
No GIP interface found in the configuration descriptor.
NoPipe
No free USB pipe available.
UnsupportedDevice
The GipDevice implementation rejected this VID/PID.
Trait Implementations§
Source§impl Error for GipError
impl Error for GipError
1.30.0 · 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 Freeze for GipError
impl RefUnwindSafe for GipError
impl Send for GipError
impl Sync for GipError
impl Unpin for GipError
impl UnwindSafe for GipError
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