Enum thrift::ProtocolErrorKind
[−]
[src]
pub enum ProtocolErrorKind {
Unknown,
InvalidData,
NegativeSize,
SizeLimit,
BadVersion,
NotImplemented,
DepthLimit,
}Runtime library error categories.
This list may grow, and it is not recommended to match against it.
Variants
UnknownCatch-all runtime-library error.
InvalidDataAn invalid argument was supplied to a library function, or invalid data was received from a Thrift endpoint.
NegativeSizeAn invalid size was received in an encoded field.
SizeLimitThrift message or field was too long.
BadVersionUnsupported or unknown Thrift protocol version.
NotImplementedUnsupported Thrift protocol, server or field type.
DepthLimitReached the maximum nested depth to which an encoded Thrift field could be skipped.
Trait Implementations
impl Clone for ProtocolErrorKind[src]
fn clone(&self) -> ProtocolErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Copy for ProtocolErrorKind[src]
impl Eq for ProtocolErrorKind[src]
impl Debug for ProtocolErrorKind[src]
impl PartialEq for ProtocolErrorKind[src]
fn eq(&self, __arg_0: &ProtocolErrorKind) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.