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
ATError(String<U512>)
ATResponseTooLong(String<U512>)
Trait Implementations
Auto Trait Implementations
impl<TXE, RXE> Send for GenericError<TXE, RXE> where
RXE: Send,
TXE: Send,
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> Sync for GenericError<TXE, RXE> where
RXE: Sync,
TXE: Sync,
impl<TXE, RXE> Unpin for GenericError<TXE, RXE> where
RXE: Unpin,
TXE: Unpin,
impl<TXE, RXE> Unpin for GenericError<TXE, RXE> where
RXE: Unpin,
TXE: Unpin,