Enum actix_redis::RespError [] [src]

pub enum RespError {
    Internal(String),
    IO(Error),
    RESP(StringOption<RespValue>),
    Remote(String),
    Unexpected(Box<Error + 'static>),
}

Variants

A non-specific internal error that prevented an operation from completing

An IO error occurred

A RESP parsing/serialising error occurred

A remote error

An unexpected error, boxed to allow type-erasure. In this context "unexpected" means "unexpected because we check ahead of time", it used to maintain the type signature of chains of futures; but it occurring at runtime should be considered a catastrophic failure.

Trait Implementations

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

A short description of the error. Read more

[src]

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

impl From<Canceled> for Error
[src]

[src]

Performs the conversion.

impl<T> From<SendError<T>> for Error where
    T: 'static, 
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl StreamHandler<RespValue, RespError> for RedisActor
[src]

[src]

Method is called when stream emits error. Read more

[src]

Method is called for every message received by this Actor

[src]

Method is called when stream get polled first time.

[src]

Method is called when stream finishes. Read more

[src]

This method register stream to an actor context and allows to handle Stream in similar way as normal actor messages. Read more

impl From<Error> for Error
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for Error

impl !Sync for Error