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

pub enum RedisError {
    Io(Error),
    Utf8(Utf8Error),
    ParseInt(ParseIntError),
    Parse(ParsingError),
    Response(String),
    MpscRecv(RecvError),
    MpscSendBytes(SendError<Vec<u8>>),
    MpscSendCallback(SendError<Box<Fn(Result<RedisResultRedisError>) + Send>>),
}

Variants

Io(Error)Utf8(Utf8Error)ParseInt(ParseIntError)Parse(ParsingError)Response(String)MpscRecv(RecvError)MpscSendBytes(SendError<Vec<u8>>)MpscSendCallback(SendError<Box<Fn(Result<RedisResultRedisError>) + Send>>)

Trait Implementations

impl Debug for RedisError
[src]

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

Formats the value using the given formatter.

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<Vec<u8>>> for RedisError
[src]

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

Performs the conversion.

impl From<SendError<Box<Fn(Result<RedisResultRedisError>) + Send>>> for RedisError
[src]

fn from(err: SendError<Box<Fn(Result<RedisResultRedisError>) + Send>>) -> RedisError

Performs the conversion.