Enum fred::error::RedisErrorKind  
                   
                       [−]
                   
               [src]
pub enum RedisErrorKind {
    Auth,
    IO(IoError),
    InvalidCommand,
    InvalidArgument,
    UrlError(ParseError),
    ProtocolError,
    Canceled,
    Unknown,
    // some variants omitted
}An enum representing the type of error from Redis.
Variants
AuthAn authentication error.
IO(IoError)An IO error with the underlying connection.
InvalidCommandAn invalid command, such as trying to perform a set command on a client after calling subscribe.
InvalidArgumentAn invalid argument or set of arguments to a command.
UrlError(ParseError)An invalid URL error.
ProtocolErrorA protocol error.
CanceledAn error indicating the request was canceled.
UnknownAn unknown error.
Trait Implementations
impl Debug for RedisErrorKind[src]
impl PartialEq for RedisErrorKind[src]
fn eq(&self, other: &RedisErrorKind) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for RedisErrorKind[src]
impl Clone for RedisErrorKind[src]
fn clone(&self) -> Self
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