[][src]Enum driver_pal::Error

pub enum Error<SpiError, PinError, DelayError> {
    Spi(SpiError),
    Pin(PinError),
    Delay(DelayError),
    Aborted,
}

Error type combining SPI and Pin errors for utility

Variants

Spi(SpiError)
Pin(PinError)
Delay(DelayError)
Aborted

Trait Implementations

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

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

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

impl<SpiError, PinError, DelayError> StructuralPartialEq for Error<SpiError, PinError, DelayError>[src]

Auto Trait Implementations

impl<SpiError, PinError, DelayError> RefUnwindSafe for Error<SpiError, PinError, DelayError> where
    DelayError: RefUnwindSafe,
    PinError: RefUnwindSafe,
    SpiError: RefUnwindSafe

impl<SpiError, PinError, DelayError> Send for Error<SpiError, PinError, DelayError> where
    DelayError: Send,
    PinError: Send,
    SpiError: Send

impl<SpiError, PinError, DelayError> Sync for Error<SpiError, PinError, DelayError> where
    DelayError: Sync,
    PinError: Sync,
    SpiError: Sync

impl<SpiError, PinError, DelayError> Unpin for Error<SpiError, PinError, DelayError> where
    DelayError: Unpin,
    PinError: Unpin,
    SpiError: Unpin

impl<SpiError, PinError, DelayError> UnwindSafe for Error<SpiError, PinError, DelayError> where
    DelayError: UnwindSafe,
    PinError: UnwindSafe,
    SpiError: UnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.