pub struct Error<E> where
E: Debug, { /* fields omitted */ }
Expand description
Accelerometer errors, generic around another error type E
representing
an (optional) cause of this error.
Create a new error with a cause
Get the kind of error which occurred
Get the cause of the underlying error (if applicable)
Convert this error into its underlying cause.
Panics if the error does not have a cause.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Create a new error from a cause, e.g. I2C or SPI I/O error
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.