pub enum VendorError {
NotConnected,
BufferOverflow,
}Expand description
Vendor class error.
Variants§
NotConnected
USB is not connected or endpoint is disabled.
BufferOverflow
Provided buffer overflowed.
Trait Implementations§
Source§impl Clone for VendorError
impl Clone for VendorError
impl Copy for VendorError
Source§impl Debug for VendorError
impl Debug for VendorError
Source§impl Display for VendorError
impl Display for VendorError
impl Eq for VendorError
Source§impl Error for VendorError
impl Error for VendorError
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()
Source§impl Error for VendorError
Available on crate feature embedded-io only.
impl Error for VendorError
Available on crate feature
embedded-io only.Source§impl Format for VendorError
impl Format for VendorError
Source§impl PartialEq for VendorError
impl PartialEq for VendorError
impl StructuralPartialEq for VendorError
Auto Trait Implementations§
impl Forget for VendorError
impl Freeze for VendorError
impl Move for VendorError
impl RefUnwindSafe for VendorError
impl Send for VendorError
impl Sync for VendorError
impl Unpin for VendorError
impl UnsafeUnpin for VendorError
impl UnwindSafe for VendorError
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