[][src]Enum thrift::ProtocolErrorKind

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]

impl Copy for ProtocolErrorKind[src]

impl Eq for ProtocolErrorKind[src]

impl PartialEq<ProtocolErrorKind> for ProtocolErrorKind[src]

impl Debug for ProtocolErrorKind[src]

impl TryFrom<i32> for ProtocolErrorKind[src]

type Error = Error

The type returned in the event of a conversion error.

impl StructuralPartialEq for ProtocolErrorKind[src]

impl StructuralEq for ProtocolErrorKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]