Enum actix_redis::Error [−][src]
pub enum Error {
Redis(Error),
NotConnected,
Disconnected,
}
Expand description
General purpose actix redis error
Variants
Redis(Error)
Tuple Fields
0: Error
NotConnected
Receiving message during reconnecting
Disconnected
Cancel all waters when connection get dropped
Trait Implementations
fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
Returns appropriate status code for error. Read more
fn error_response(&self) -> HttpResponse<BoxBody>
fn error_response(&self) -> HttpResponse<BoxBody>
Creates full response for error. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more