Struct actix_web::error::BlockingError
source · [−]pub struct BlockingError;
Expand description
A set of errors that can occur running blocking tasks in thread pool.
Trait Implementations
Performs the conversion.
Returns appropriate status code for error. Read more
fn error_response(&self) -> HttpResponse<BoxBody>ⓘNotable traits for HttpResponse<BoxBody>impl Future for HttpResponse<BoxBody> type Output = Result<Response<BoxBody>, Error>;
fn error_response(&self) -> HttpResponse<BoxBody>ⓘNotable traits for HttpResponse<BoxBody>impl Future for HttpResponse<BoxBody> type Output = Result<Response<BoxBody>, Error>;
Notable traits for HttpResponse<BoxBody>
impl Future for HttpResponse<BoxBody> type Output = Result<Response<BoxBody>, Error>;
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
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