Enum mpu9250::Error[][src]

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

MPU Error

Variants

WHO_AM_I returned invalid value (returned value is argument).

Mode not supported by device (WHO_AM_I is argument)

Underlying bus error.

Trait Implementations

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

Formats the value using the given formatter. Read more

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Performs the conversion.

Auto Trait Implementations

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

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