[][src]Enum ads129xx::spi::SpiError

pub enum SpiError<E, E2> {
    BusError(E),
    NCSError(E2),
    WaitError,
}

Variants

BusError(E)

SPI bus I/O error

NCSError(E2)

Error setting the nCS pin

WaitError

An error occurred whilst waiting

Trait Implementations

impl<E, E2> From<E> for SpiError<E, E2>[src]

impl<E: Debug, E2: Debug> Debug for SpiError<E, E2>[src]

impl<E: Copy, E2: Copy> Copy for SpiError<E, E2>[src]

impl<E, EO> Into<Ads129xxError<E, EO>> for SpiError<E, EO>[src]

impl<E: Clone, E2: Clone> Clone for SpiError<E, E2>[src]

Auto Trait Implementations

impl<E, E2> Unpin for SpiError<E, E2> where
    E: Unpin,
    E2: Unpin

impl<E, E2> Send for SpiError<E, E2> where
    E: Send,
    E2: Send

impl<E, E2> Sync for SpiError<E, E2> where
    E: Sync,
    E2: Sync

Blanket Implementations

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

impl<T> From<!> 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]