Enum mpu9250::Error [−][src]
pub enum Error<E> { InvalidDevice(u8), ModeNotSupported(u8), BusError(E), }
MPU Error
Variants
InvalidDevice(u8)
WHO_AM_I returned invalid value (returned value is argument).
ModeNotSupported(u8)
Mode not supported by device (WHO_AM_I is argument)
BusError(E)
Underlying bus error.
Trait Implementations
impl<E: Debug> Debug for Error<E>
[src]
impl<E: Debug> Debug for Error<E>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<E: Copy> Copy for Error<E>
[src]
impl<E: Copy> Copy for Error<E>
impl<E: Clone> Clone for Error<E>
[src]
impl<E: Clone> Clone for Error<E>
fn clone(&self) -> Error<E>
[src]
fn clone(&self) -> Error<E>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<E> From<E> for Error<E>
[src]
impl<E> From<E> for Error<E>