Enum redis_client::errors::RedisError [] [src]

pub enum RedisError {
    Io(Error),
    Utf8(Utf8Error),
    ParseInt(ParseIntError),
    Parse(ParsingError),
    Response(String),
    MpscRecv(RecvError),
    MpscSendBytes(SendError<(SenderType, u32, Vec<u8>)>),
    MpscSendPubSubBytes(SendError<(PubSubType, u32, Vec<u8>)>),
    MpscTryRecv(TryRecvError),
}

Variants

Io
Utf8
ParseInt
Parse
Response
MpscRecv
MpscSendBytes
MpscSendPubSubBytes
MpscTryRecv

Trait Implementations

impl Clone for RedisError

fn clone(&self) -> RedisError

fn clone_from(&mut self, source: &Self)

impl Display for RedisError

fn fmt(&self, f: &mut Formatter) -> Result

impl Error for RedisError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl From<Error> for RedisError

fn from(err: Error) -> RedisError

impl From<Utf8Error> for RedisError

fn from(err: Utf8Error) -> RedisError

impl From<ParseIntError> for RedisError

fn from(err: ParseIntError) -> RedisError

impl From<ParsingError> for RedisError

fn from(err: ParsingError) -> RedisError

impl From<String> for RedisError

fn from(err: String) -> RedisError

impl From<RecvError> for RedisError

fn from(err: RecvError) -> RedisError

impl From<SendError<(SenderType, u32, Vec<u8>)>> for RedisError

fn from(err: SendError<(SenderType, u32, Vec<u8>)>) -> RedisError

impl From<SendError<(PubSubType, u32, Vec<u8>)>> for RedisError

fn from(err: SendError<(PubSubType, u32, Vec<u8>)>) -> RedisError

impl From<TryRecvError> for RedisError

fn from(err: TryRecvError) -> RedisError

Derived Implementations

impl Debug for RedisError

fn fmt(&self, __arg_0: &mut Formatter) -> Result