[][src]Enum automaat_processor_redis_command::Error

pub enum Error {
    Response(RedisError),
    AuthenticationFailed(RedisError),
    Type(RedisError),
    ExecAbort(RedisError),
    BusyLoading(RedisError),
    NoScript(RedisError),
    InvalidClientConfig(RedisError),
    Io(RedisError),
    Extension(RedisError),
    // some variants omitted
}

Represents all the ways that RedisCommand can fail.

This type is not intended to be exhaustively matched, and new variants may be added in the future without a major version bump.

Variants

Response(RedisError)

The server generated an invalid response.

AuthenticationFailed(RedisError)

The authentication with the server failed.

Type(RedisError)

Operation failed because of a type mismatch.

ExecAbort(RedisError)

A script execution was aborted.

BusyLoading(RedisError)

The server cannot response because it's loading a dump.

NoScript(RedisError)

A script that was requested does not actually exist.

InvalidClientConfig(RedisError)

An error that was caused because the parameter to the client were wrong.

Io(RedisError)

This kind is returned if the redis error is one that is not native to the system. This is usually the case if the cause is another error.

Extension(RedisError)

An extension error. This is an error created by the server that is not directly understood by the library.

Trait Implementations

impl From<RedisError> for Error[src]

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

fn description(&self) -> &str1.0.0[src]

This method is soft-deprecated. Read more

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

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

Auto Trait Implementations

impl Send for Error

impl Sync for Error

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T