Struct thrift::TransportError [] [src]

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

Information about I/O errors.

Fields

I/O error variant.

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

Human-readable error message.

Methods

impl TransportError
[src]

Create a new TransportError.

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.