[][src]Enum rn4870::Error

pub enum Error<ER, EW, GpioError> {
    Read(ER),
    Write(EW),
    Gpio(GpioError),
    InvalidResponse,
}

Error type

Variants

Read(ER)

Serial read error

Write(EW)

Serial write error

Gpio(GpioError)

Gpio Error,

InvalidResponse

Invalid response from BLE module

Auto Trait Implementations

impl<ER, EW, GpioError> Send for Error<ER, EW, GpioError> where
    ER: Send,
    EW: Send,
    GpioError: Send

impl<ER, EW, GpioError> Sync for Error<ER, EW, GpioError> where
    ER: Sync,
    EW: Sync,
    GpioError: Sync

impl<ER, EW, GpioError> Unpin for Error<ER, EW, GpioError> where
    ER: Unpin,
    EW: Unpin,
    GpioError: 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.