pub enum SetupError<E> {
Transport(E),
ImuWhoAmI(u8),
MagWhoAmI(u8),
}Variants§
Transport(E)
An error occured with the I2C/SPI connection during setup
ImuWhoAmI(u8)
An incorrect ‘Who Am I’ value was returned from the imu, expected 0xEA (233)
MagWhoAmI(u8)
An incorrect ‘Who Am I’ value was returned from the mag, expected 0x09 (9)
Trait Implementations§
Source§impl<E: Clone> Clone for SetupError<E>
impl<E: Clone> Clone for SetupError<E>
Source§fn clone(&self) -> SetupError<E>
fn clone(&self) -> SetupError<E>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<E: Debug> Debug for SetupError<E>
impl<E: Debug> Debug for SetupError<E>
Source§impl<E> From<E> for SetupError<E>
impl<E> From<E> for SetupError<E>
Source§impl<E: PartialEq> PartialEq for SetupError<E>
impl<E: PartialEq> PartialEq for SetupError<E>
impl<E> StructuralPartialEq for SetupError<E>
Auto Trait Implementations§
impl<E> Freeze for SetupError<E>where
E: Freeze,
impl<E> RefUnwindSafe for SetupError<E>where
E: RefUnwindSafe,
impl<E> Send for SetupError<E>where
E: Send,
impl<E> Sync for SetupError<E>where
E: Sync,
impl<E> Unpin for SetupError<E>where
E: Unpin,
impl<E> UnwindSafe for SetupError<E>where
E: UnwindSafe,
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