Enum rthrift::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
Unknown
Catch-all runtime-library error.
InvalidData
An invalid argument was supplied to a library function, or invalid data was received from a Thrift endpoint.
NegativeSize
An invalid size was received in an encoded field.
SizeLimit
Thrift message or field was too long.
BadVersion
Unsupported or unknown Thrift protocol version.
NotImplemented
Unsupported Thrift protocol, server or field type.
DepthLimit
Reached the maximum nested depth to which an encoded Thrift field could be skipped.
Trait Implementations
impl Clone for ProtocolErrorKind
[src]
fn clone(&self) -> ProtocolErrorKind
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.