Enum rift::ApplicationErrorKind [] [src]

pub enum ApplicationErrorKind {
    Unknown,
    UnknownMethod,
    InvalidMessageType,
    WrongMethodName,
    BadSequenceId,
    MissingResult,
    InternalError,
    ProtocolError,
    InvalidTransform,
    InvalidProtocol,
    UnsupportedClientType,
}

A list specifying general categories of application error.

This list may grow, and it is not recommended to match against it.

Variants

Catch-all application error.

Service call made to/for an unknown service method.

Received an unknown Thrift message type. That is, not one of the variants specified in rift::protocol::TMessageType.

Incoming Thrift reply does not specify the correct method name for the service call it's replying to.

Auto-generated code received an out-of-order Thrift message.

Auto-generated code failed unexpectedly.

Generic Thrift protocol error. When possible use ProtocolError with a specific ProtocolErrorKind instead.

Unknown. Only for compatibility with existing Thrift implementations.

Remote Thrift service endpoint requested, or is using, an unsupported wire encoding.

Remote Thrift service endpoint requested, or is using, an unsupported auto-generated client type.

Trait Implementations

impl Clone for ApplicationErrorKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ApplicationErrorKind
[src]

impl Debug for ApplicationErrorKind
[src]

Formats the value using the given formatter.

impl Eq for ApplicationErrorKind
[src]

impl PartialEq for ApplicationErrorKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl TryFrom<i32> for ApplicationErrorKind
[src]