Enum rift::ProtocolErrorKind
[−]
[src]
pub enum ProtocolErrorKind { Unknown, InvalidData, NegativeSize, SizeLimit, BadVersion, NotImplemented, DepthLimit, }
A list specifying general categories of rift library error.
This list may grow, and it is not recommended to match against it.
Variants
Unknown
Catch-all library error.
InvalidData
An invalid argument was supplied to a library function, or invalid data was received from the remote Thrift service endpoint.
NegativeSize
An invalid size was received in a protocol-encoding field.
SizeLimit
A Thrift message or field was too long.
BadVersion
Unsupported or unknown Thrift protocol version.
NotImplemented
A thrift protocol type, server type, or field type is unsupported.
DepthLimit
Reached the maximum nested depth to which an unknown field or container value 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) -> bool
1.0.0
This method tests for !=
.