[][src]Enum lora_serial::ErrorKind

pub enum ErrorKind {
    VersionMismatch {
        actual: u8,
        expected: u8,
    },
    IoError {
        context: String,
        inner: Error,
    },
    DeserializeError {
        inner: Error,
    },
    SerializeError {
        inner: Error,
    },
    EncodingError {
        msg: String,
    },
    RemoteError {
        msg: String,
    },
    InvalidInput {
        msg: String,
    },
    Timeout {
        msg: String,
    },
    RoundtripIntegrityError {
        param: String,
        sent: String,
        received: String,
    },
    SerialPortError {
        context: String,
        inner: Error,
    },
}

Variants

VersionMismatch

Fields of VersionMismatch

actual: u8expected: u8
IoError

Fields of IoError

context: Stringinner: Error
DeserializeError

Fields of DeserializeError

inner: Error
SerializeError

Fields of SerializeError

inner: Error
EncodingError

Fields of EncodingError

msg: String
RemoteError

Fields of RemoteError

msg: String
InvalidInput

Fields of InvalidInput

msg: String
Timeout

Fields of Timeout

msg: String
RoundtripIntegrityError

Fields of RoundtripIntegrityError

param: Stringsent: Stringreceived: String
SerialPortError

Fields of SerialPortError

context: Stringinner: Error

Trait Implementations

impl Display for ErrorKind[src]

impl Debug for ErrorKind[src]

impl Error for ErrorKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]