Struct actix_web::error::BlockingError
source · #[non_exhaustive]pub struct BlockingError;
Expand description
An error representing a problem running a blocking task on a thread pool.
Trait Implementations§
source§impl Debug for BlockingError
impl Debug for BlockingError
source§impl Display for BlockingError
impl Display for BlockingError
source§impl Error for BlockingError
impl Error for BlockingError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl ResponseError for BlockingError
impl ResponseError for BlockingError
source§fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
Returns appropriate status code for error. Read more
source§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 BlockingError
impl Send for BlockingError
impl Sync for BlockingError
impl Unpin for BlockingError
impl UnwindSafe for BlockingError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more