Enum thrift::ApplicationErrorKind
[−]
[src]
pub enum ApplicationErrorKind {
Unknown,
UnknownMethod,
InvalidMessageType,
WrongMethodName,
BadSequenceId,
MissingResult,
InternalError,
ProtocolError,
InvalidTransform,
InvalidProtocol,
UnsupportedClientType,
}Auto-generated or user-implemented code error categories.
This list may grow, and it is not recommended to match against it.
Variants
UnknownCatch-all application error.
UnknownMethodMade service call to an unknown service method.
InvalidMessageTypeReceived an unknown Thrift message type. That is, not one of the
thrift::protocol::TMessageType variants.
WrongMethodNameMethod name in a service reply does not match the name of the receiving service method.
BadSequenceIdReceived an out-of-order Thrift message.
MissingResultService reply is missing required fields.
InternalErrorAuto-generated code failed unexpectedly.
ProtocolErrorThrift protocol error. When possible use Error::ProtocolError with a
specific ProtocolErrorKind instead.
InvalidTransformUnknown. Included only for compatibility with existing Thrift implementations.
InvalidProtocolThrift endpoint requested, or is using, an unsupported encoding.
UnsupportedClientTypeThrift endpoint requested, or is using, an unsupported auto-generated client type.
Trait Implementations
impl Clone for ApplicationErrorKind[src]
fn clone(&self) -> ApplicationErrorKind
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 ApplicationErrorKind[src]
impl Debug for ApplicationErrorKind[src]
impl Eq for ApplicationErrorKind[src]
impl PartialEq for ApplicationErrorKind[src]
fn eq(&self, __arg_0: &ApplicationErrorKind) -> 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 !=.