[][src]Enum card10_l0dable::BHI160Error

pub enum BHI160Error {
    CouldNotAcquireLock,
    DriverBusy,
    InvalidSampleCount,
    SensorDescriptorUnknown,
    SensorUnavailable,
    Unknown(i32),
}

Variants

CouldNotAcquireLock

The descriptor table lock could not be acquired.

DriverBusy

The BHI160 driver is currently busy with other tasks and could not be acquired for enabling a sensor.

InvalidSampleCount

The requested sample count is not a multiple of the sensor's sample size.

SensorDescriptorUnknown

The given sensor descriptor is unknown.

SensorUnavailable

Sensor is not currently available.

Unknown(i32)

Not yet documented and therefore unknown error types.

Trait Implementations

impl Display for Error[src]

impl Debug for Error[src]

Auto Trait Implementations

impl Unpin for Error

impl Send for Error

impl Sync for Error

Blanket Implementations

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

The type returned in the event of a conversion error.

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

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

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