[][src]Enum mpu9250::Error

pub enum Error<E> {
    InvalidDevice(u8),
    ModeNotSupported(u8),
    BusError(E),
    CalibrationError,
}

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.

CalibrationError

Calibration error (not enough data gathered)

Trait Implementations

impl<E: Clone> Clone for Error<E>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<E: Debug> Debug for Error<E>[src]

impl<E> From<E> for Error<E>[src]

impl<E: Copy> Copy for Error<E>[src]

Auto Trait Implementations

impl<E> Send for Error<E> where
    E: Send

impl<E> Sync for Error<E> where
    E: Sync

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>,