[][src]Enum rpos_drv::ErrorKind

pub enum ErrorKind {
    OperationFail,
    OperationTimeout,
    OperationNotSupport,
    ProtocolError,
    BufferTooSmall,
    Io(ErrorKind),
}

Categories of errors that can occur when operating with rpos_drv::net module This list is intended to grow over time and it is not recommended to exhaustively match against it.

Variants

The execution of operation failed

The execution of operation is timed out

The device doesn't support this operation

The decoding data is invalid according to current protocol

The buffer is too small for message encoding

An I/O error occurred

Trait Implementations

impl Copy for ErrorKind
[src]

impl Eq for ErrorKind
[src]

impl PartialEq<ErrorKind> for ErrorKind
[src]

impl Clone for ErrorKind
[src]

Performs copy-assignment from source. Read more

impl Debug for ErrorKind
[src]

Auto Trait Implementations

impl Send for ErrorKind

impl Sync for ErrorKind

Blanket Implementations

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

impl<T> From for T
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.