Enum actix_redis::RespError
[−]
[src]
pub enum RespError {
Internal(String),
IO(Error),
RESP(String, Option<RespValue>),
Remote(String),
Unexpected(Box<Error + 'static>),
}Variants
Internal(String)A non-specific internal error that prevented an operation from completing
IO(Error)An IO error occurred
RESP(String, Option<RespValue>)A RESP parsing/serialising error occurred
Remote(String)A remote error
Unexpected(Box<Error + 'static>)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 Error for Error[src]
impl From<Canceled> for Error[src]
impl From<Error> for Error[src]
impl<T> From<SendError<T>> for Error where
T: 'static, [src]
T: 'static,
impl Debug for Error[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter.