Enum hmc5883_async::Error
source · [−]pub enum Error<CommE> {
Comm(CommE),
OutOfRange,
Configuration,
UnknownChipId,
}
Expand description
Errors in this crate
Variants
Comm(CommE)
Sensor communication error
OutOfRange
Sensor reading out of range
Configuration
Configuration reads invalid
UnknownChipId
Unrecognized chip ID
Trait Implementations
Auto Trait Implementations
impl<CommE> RefUnwindSafe for Error<CommE> where
CommE: RefUnwindSafe,
impl<CommE> Send for Error<CommE> where
CommE: Send,
impl<CommE> Sync for Error<CommE> where
CommE: Sync,
impl<CommE> Unpin for Error<CommE> where
CommE: Unpin,
impl<CommE> UnwindSafe for Error<CommE> where
CommE: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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