Struct rift::TransportError [] [src]

pub struct TransportError {
    pub kind: TransportErrorKind,
    pub message: String,
}

Encodes information about I/O errors encountered within the rift library.

Fields

Specific I/O error kind.

If a specific TransportErrorKind does not apply use TransportErrorKind::Unknown.

Human-readable error message.

Methods

impl TransportError
[src]

Convenience constructor to create a new TransportError instance.

Trait Implementations

impl Debug for TransportError
[src]

Formats the value using the given formatter.

impl Display for TransportError
[src]

Formats the value using the given formatter. Read more