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<RedisResult, RedisError>) + Send>>), }
Variants
Io(Error)
Utf8(Utf8Error)
ParseInt(ParseIntError)
Parse(ParsingError)
Response(String)
MpscRecv(RecvError)
MpscSendBytes(SendError<Vec<u8>>)
MpscSendCallback(SendError<Box<Fn(Result<RedisResult, RedisError>) + Send>>)
Trait Implementations
impl Debug for RedisError
[src]
impl Display for RedisError
[src]
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<RedisResult, RedisError>) + Send>>> for RedisError
[src]
fn from(err: SendError<Box<Fn(Result<RedisResult, RedisError>) + Send>>) -> RedisError
Performs the conversion.