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

Catch-all runtime-library error.

An invalid argument was supplied to a library function, or invalid data was received from a Thrift endpoint.

An invalid size was received in an encoded field.

Thrift message or field was too long.

Unsupported or unknown Thrift protocol version.

Unsupported Thrift protocol, server or field type.

Reached the maximum nested depth to which an encoded Thrift field could be skipped.

Trait Implementations

impl Clone for ProtocolErrorKind
[src]

[src]

Returns a copy of the value. Read more

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]

[src]

Formats the value using the given formatter.

impl PartialEq for ProtocolErrorKind
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl TryFrom<i32> for ProtocolErrorKind
[src]

[src]