Struct thrift::ProtocolError [] [src]

pub struct ProtocolError {
    pub kind: ProtocolErrorKind,
    pub message: String,
}

Information about errors that occur in the runtime library.

Fields

Protocol error variant.

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

Human-readable error message.

Methods

impl ProtocolError
[src]

Create a new ProtocolError.

Trait Implementations

impl Debug for ProtocolError
[src]

Formats the value using the given formatter.

impl Display for ProtocolError
[src]

Formats the value using the given formatter.