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>)>),
    MpscTryRecv(TryRecvError),
}

Variants

Io(Error)Utf8(Utf8Error)ParseInt(ParseIntError)Parse(ParsingError)Response(String)MpscRecv(RecvError)MpscSendBytes(SendError<(SenderType, u32, Vec<u8>)>)MpscTryRecv(TryRecvError)

Trait Implementations

impl Debug for RedisError
[src]

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

Formats the value using the given formatter.

impl Clone for RedisError
[src]

fn clone(&self) -> RedisError

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Display for RedisError
[src]

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

Formats the value using the given formatter.

impl Error for RedisError
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

The lower-level cause of this error, if any. Read more

impl From<Error> for RedisError
[src]

fn from(err: Error) -> RedisError

Performs the conversion.

impl From<Utf8Error> for RedisError
[src]

fn from(err: Utf8Error) -> RedisError

Performs the conversion.

impl From<ParseIntError> for RedisError
[src]

fn from(err: ParseIntError) -> RedisError

Performs the conversion.

impl From<ParsingError> for RedisError
[src]

fn from(err: ParsingError) -> RedisError

Performs the conversion.

impl From<String> for RedisError
[src]

fn from(err: String) -> RedisError

Performs the conversion.

impl From<RecvError> for RedisError
[src]

fn from(err: RecvError) -> RedisError

Performs the conversion.

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

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

Performs the conversion.

impl From<TryRecvError> for RedisError
[src]

fn from(err: TryRecvError) -> RedisError

Performs the conversion.