Enum actix_web::actix::dev::MailboxError
source · pub enum MailboxError {
Closed,
Timeout,
}
Expand description
Set of error that can occurred during message delivery process
Variants
Closed
Timeout
Trait Implementations
sourceimpl Debug for MailboxError
impl Debug for MailboxError
sourceimpl Display for MailboxError
impl Display for MailboxError
sourceimpl Fail for MailboxError
impl Fail for MailboxError
sourcefn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresourceimpl ResponseError for MailboxError
impl ResponseError for MailboxError
InternalServerError
for actix::MailboxError
sourcefn error_response(&self) -> HttpResponse
fn error_response(&self) -> HttpResponse
Create response for error Read more
Auto Trait Implementations
impl RefUnwindSafe for MailboxError
impl Send for MailboxError
impl Sync for MailboxError
impl Unpin for MailboxError
impl UnwindSafe for MailboxError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more