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

An authentication error.

An IO error with the underlying connection.

An invalid command, such as trying to perform a set command on a client after calling subscribe.

An invalid argument or set of arguments to a command.

An invalid URL error.

A protocol error.

An error indicating the request was canceled.

An unknown error.

Trait Implementations

impl Debug for RedisErrorKind
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for RedisErrorKind
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for RedisErrorKind
[src]

impl Clone for RedisErrorKind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations