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

[src]

Create a new ProtocolError.

Trait Implementations

impl Debug for ProtocolError
[src]

[src]

Formats the value using the given formatter.

impl Eq for ProtocolError
[src]

impl PartialEq for ProtocolError
[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 ProtocolError
[src]

[src]

Formats the value using the given formatter. Read more