[][src]Enum fk_lis3dsh::Error

pub enum Error<E, PinError> {
    CommErr(E),
    PinError(PinError),
    InvalidDataRate,
    InvalidMode,
    InvalidRange,
    WriteToReadOnly,
    WrongAddress,
    NotImplemented,
}

Variants

CommErr(E)

Communication error

PinError(PinError)

Pin error

InvalidDataRate

Invalid data rate selection

InvalidMode

Invalid operating mode selection

InvalidRange

Invalid full-scale selection

WriteToReadOnly

Attempted to write to a read-only register

WrongAddress

Invalid address provided

NotImplemented

Methods not implemented

Trait Implementations

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

Auto Trait Implementations

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

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

impl<E, PinError> Unpin for Error<E, PinError> where
    E: Unpin,
    PinError: Unpin

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.