Enum esp_at_driver::GenericError[][src]

pub enum GenericError<TXE, RXE> {
    WriteError(TXE),
    ReadError(RXE),
    ATError(String<U512>),
    ATResponseTooLong(String<U512>),
}

RXE and TXE will be the Error type(s) of your serial port implementation, as defined by embedded_hal::serial::Read<u8>::Error and embedded_hal::serial::Write<u8>::Error respectively.

Variants

WriteError(TXE)
ReadError(RXE)
ATError(String<U512>)
ATResponseTooLong(String<U512>)

Trait Implementations

impl<TXE: Debug, RXE: Debug> Debug for GenericError<TXE, RXE>[src]

Auto Trait Implementations

impl<TXE, RXE> Send for GenericError<TXE, RXE> where
    RXE: Send,
    TXE: Send

impl<TXE, RXE> Sync for GenericError<TXE, RXE> where
    RXE: Sync,
    TXE: Sync

impl<TXE, RXE> Unpin for GenericError<TXE, RXE> where
    RXE: Unpin,
    TXE: 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.