Struct thrift::ProtocolError [−][src]
pub struct ProtocolError {
pub kind: ProtocolErrorKind,
pub message: String,
}
Expand description
Information about errors that occur in the runtime library.
Fields
kind: ProtocolErrorKind
Protocol error variant.
If a specific ProtocolErrorKind
does not apply use
ProtocolErrorKind::Unknown
.
message: String
Human-readable error message.
Implementations
Create a new ProtocolError
.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.