pub enum OdroidC2Error {
PinError(PinError),
DeviceError(DeviceError),
}
Expand description
Main error type for this crate.
For more details, see PinError
and DeviceError
enums documentation.
Variants§
PinError(PinError)
DeviceError(DeviceError)
Trait Implementations§
Source§impl Debug for OdroidC2Error
impl Debug for OdroidC2Error
Source§impl Display for OdroidC2Error
impl Display for OdroidC2Error
Source§impl Error for OdroidC2Error
impl Error for OdroidC2Error
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 OdroidC2Error
impl !RefUnwindSafe for OdroidC2Error
impl Send for OdroidC2Error
impl Sync for OdroidC2Error
impl Unpin for OdroidC2Error
impl !UnwindSafe for OdroidC2Error
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