Enum redis_protocol::types::RedisProtocolErrorKind[][src]

pub enum RedisProtocolErrorKind {
    EncodeError,
    BufferTooSmall(usize),
    DecodeError,
    Unknown,
}

Variants

An error that occurred while encoding data.

An error indicating that the provided buffer needs to be extended by the inner usize bytes before encoding can continue.

An error that occurred while decoding data.

An unknown error, or an error that can occur during encoding or decoding.

Methods

impl RedisProtocolErrorKind
[src]

Trait Implementations

impl Clone for RedisProtocolErrorKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for RedisProtocolErrorKind
[src]

Formats the value using the given formatter. Read more

impl Eq for RedisProtocolErrorKind
[src]

impl PartialEq for RedisProtocolErrorKind
[src]

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

This method tests for !=.

Auto Trait Implementations