[][src]Enum w5500::TransferError

pub enum TransferError<SpiError, ChipSelectError> {
    SpiError(SpiError),
    ChipSelectError(ChipSelectError),
}

Error enum that represents the union between SPI hardware errors and digital IO pin errors. Returned as an Error type by many ActiveW5500 operations that talk to the chip

Variants

SpiError(SpiError)
ChipSelectError(ChipSelectError)

Trait Implementations

impl<SpiError: Clone, ChipSelectError: Clone> Clone for TransferError<SpiError, ChipSelectError>[src]

impl<SpiError: Copy, ChipSelectError: Copy> Copy for TransferError<SpiError, ChipSelectError>[src]

impl<SpiError: Debug, ChipSelectError: Debug> Debug for TransferError<SpiError, ChipSelectError>[src]

Auto Trait Implementations

impl<SpiError, ChipSelectError> Send for TransferError<SpiError, ChipSelectError> where
    ChipSelectError: Send,
    SpiError: Send

impl<SpiError, ChipSelectError> Sync for TransferError<SpiError, ChipSelectError> where
    ChipSelectError: Sync,
    SpiError: Sync

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