Struct rthrift::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]

[src]

Create a new TransportError.

Trait Implementations

impl Debug for TransportError
[src]

[src]

Formats the value using the given formatter.

impl Eq for TransportError
[src]

impl PartialEq for TransportError
[src]

[src]

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

[src]

This method tests for !=.

impl Display for TransportError
[src]

[src]

Formats the value using the given formatter. Read more