Enum redis_protocol::types::RedisProtocolErrorKind [−][src]
pub enum RedisProtocolErrorKind {
EncodeError,
BufferTooSmall(usize),
DecodeError,
Unknown,
}Variants
EncodeErrorAn 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.
DecodeErrorAn error that occurred while decoding data.
UnknownAn unknown error, or an error that can occur during encoding or decoding.
Methods
impl RedisProtocolErrorKind[src]
impl RedisProtocolErrorKindTrait Implementations
impl Clone for RedisProtocolErrorKind[src]
impl Clone for RedisProtocolErrorKindfn clone(&self) -> RedisProtocolErrorKind[src]
fn clone(&self) -> RedisProtocolErrorKindReturns 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 RedisProtocolErrorKindfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for RedisProtocolErrorKind[src]
impl Eq for RedisProtocolErrorKindimpl PartialEq for RedisProtocolErrorKind[src]
impl PartialEq for RedisProtocolErrorKindfn eq(&self, other: &RedisProtocolErrorKind) -> bool[src]
fn eq(&self, other: &RedisProtocolErrorKind) -> boolThis 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) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for RedisProtocolErrorKind
impl Send for RedisProtocolErrorKindimpl Sync for RedisProtocolErrorKind
impl Sync for RedisProtocolErrorKind