Enum rift::TransportErrorKind [] [src]

pub enum TransportErrorKind {
    Unknown,
    NotOpen,
    AlreadyOpen,
    TimedOut,
    EndOfFile,
    NegativeSize,
    SizeLimit,
}

A list specifying general categories of I/O error.

This list may grow, and it is not recommended to match against it.

Variants

Catch-all I/O error.

An I/O operation was attempted when the transport channel was not open.

The transport channel cannot be opened because it was opened previously.

An I/O operation timed out.

A read could not complete because no bytes were available.

An invalid (buffer/message) size was requested or received.

Too large a buffer or message size was requested or received.

Trait Implementations

impl Clone for TransportErrorKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for TransportErrorKind
[src]

impl Eq for TransportErrorKind
[src]

impl Debug for TransportErrorKind
[src]

Formats the value using the given formatter.

impl PartialEq for TransportErrorKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl TryFrom<i32> for TransportErrorKind
[src]