Enum stm32_uart_loader::Error[][src]

pub enum Error<SerialError: Debug> {
    Serial(SerialError),
    Nack,
    NoAck,
    Timeout,
    InvalidResponse,
    BufferLength,
    Io(ErrorKind),
}

Variants

Serial(SerialError)
Nack
NoAck
Timeout
InvalidResponse
BufferLength

Trait Implementations

impl<SerialError: Clone + Debug> Clone for Error<SerialError>[src]

impl<SerialError: Debug> Debug for Error<SerialError>[src]

impl<SerialError: Debug> Display for Error<SerialError>[src]

impl<SerialError: Debug> Error for Error<SerialError>[src]

impl<SerialError: Debug> From<SerialError> for Error<SerialError>[src]

impl<SerialError: PartialEq + Debug> PartialEq<Error<SerialError>> for Error<SerialError>[src]

impl<SerialError: Debug> StructuralPartialEq for Error<SerialError>[src]

Auto Trait Implementations

impl<SerialError> RefUnwindSafe for Error<SerialError> where
    SerialError: RefUnwindSafe
[src]

impl<SerialError> Send for Error<SerialError> where
    SerialError: Send
[src]

impl<SerialError> Sync for Error<SerialError> where
    SerialError: Sync
[src]

impl<SerialError> Unpin for Error<SerialError> where
    SerialError: Unpin
[src]

impl<SerialError> UnwindSafe for Error<SerialError> where
    SerialError: UnwindSafe
[src]

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<!> for T[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> ToString for T where
    T: Display + ?Sized
[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.