pub enum FelError {
Response {
expected: &'static str,
found: String,
},
UnsupportedDevId {
id: u32,
},
SPLHeader {
msg: &'static str,
},
}
Expand description
FEL errors.
Variants
Response
USB response error.
UnsupportedDevId
Fields
id: u32
Unsupported device ID.
Unsupported device ID.
SPLHeader
Fields
msg: &'static str
SPL header error message.
SPL header error.
Trait Implementations
sourceimpl Fail for FelError
impl Fail for FelError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreimpl StructuralPartialEq for FelError
Auto Trait Implementations
impl RefUnwindSafe for FelError
impl Send for FelError
impl Sync for FelError
impl Unpin for FelError
impl UnwindSafe for FelError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more