pub enum CdcAcmError {
Transfer(PipeError),
NoInterface,
NoPipe,
}Expand description
CDC ACM host class driver error.
Variants§
Transfer(PipeError)
Transfer error.
NoInterface
No matching CDC ACM interface found in the device.
NoPipe
Failed to allocate a pipe.
Trait Implementations§
Source§impl Debug for CdcAcmError
impl Debug for CdcAcmError
Source§impl Display for CdcAcmError
impl Display for CdcAcmError
Source§impl Error for CdcAcmError
impl Error for CdcAcmError
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 Format for CdcAcmError
impl Format for CdcAcmError
Auto Trait Implementations§
impl Freeze for CdcAcmError
impl RefUnwindSafe for CdcAcmError
impl Send for CdcAcmError
impl Sync for CdcAcmError
impl Unpin for CdcAcmError
impl UnwindSafe for CdcAcmError
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