Enum redis_protocol::types::RedisProtocolErrorKind [−][src]
pub enum RedisProtocolErrorKind { EncodeError, BufferTooSmall(usize), DecodeError, Unknown, }
Variants
EncodeError
An error that occurred while encoding data.
BufferTooSmall(usize)
An error indicating that the provided buffer needs to be extended by the inner usize
bytes before encoding can continue.
DecodeError
An error that occurred while decoding data.
Unknown
An unknown error, or an error that can occur during encoding or decoding.
Methods
impl RedisProtocolErrorKind
[src]
impl RedisProtocolErrorKind
Trait Implementations
impl Clone for RedisProtocolErrorKind
[src]
impl Clone for RedisProtocolErrorKind
fn clone(&self) -> RedisProtocolErrorKind
[src]
fn clone(&self) -> RedisProtocolErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for RedisProtocolErrorKind
[src]
impl Debug for RedisProtocolErrorKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for RedisProtocolErrorKind
[src]
impl Eq for RedisProtocolErrorKind
impl PartialEq for RedisProtocolErrorKind
[src]
impl PartialEq for RedisProtocolErrorKind
fn eq(&self, other: &RedisProtocolErrorKind) -> bool
[src]
fn eq(&self, other: &RedisProtocolErrorKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &RedisProtocolErrorKind) -> bool
[src]
fn ne(&self, other: &RedisProtocolErrorKind) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for RedisProtocolErrorKind
impl Send for RedisProtocolErrorKind
impl Sync for RedisProtocolErrorKind
impl Sync for RedisProtocolErrorKind