[][src]Enum adxl313::Adxl313Error

pub enum Adxl313Error<SpiError, PinError> {
    SpiError(SpiError),
    PinError(PinError),
    WrongId,
}

Errors in this crate

Variants

SpiError(SpiError)
PinError(PinError)
WrongId

Trait Implementations

impl<SpiError: Clone, PinError: Clone> Clone for Adxl313Error<SpiError, PinError>[src]

impl<SpiError: Debug, PinError: Debug> Debug for Adxl313Error<SpiError, PinError>[src]

impl<SpiError: PartialEq, PinError: PartialEq> PartialEq<Adxl313Error<SpiError, PinError>> for Adxl313Error<SpiError, PinError>[src]

impl<SpiError, PinError> StructuralPartialEq for Adxl313Error<SpiError, PinError>[src]

Auto Trait Implementations

impl<SpiError, PinError> Send for Adxl313Error<SpiError, PinError> where
    PinError: Send,
    SpiError: Send

impl<SpiError, PinError> Sync for Adxl313Error<SpiError, PinError> where
    PinError: Sync,
    SpiError: Sync

impl<SpiError, PinError> Unpin for Adxl313Error<SpiError, PinError> where
    PinError: Unpin,
    SpiError: 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.