pub struct ActixRejection(/* private fields */);
Expand description
An HTTP rejection response for actix-web
.
Trait Implementations§
Source§impl Debug for ActixRejection
impl Debug for ActixRejection
Source§impl Display for ActixRejection
impl Display for ActixRejection
Source§impl From<Rejection> for ActixRejection
impl From<Rejection> for ActixRejection
Source§impl ResponseError for ActixRejection
impl ResponseError for ActixRejection
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 !Freeze for ActixRejection
impl RefUnwindSafe for ActixRejection
impl Send for ActixRejection
impl Sync for ActixRejection
impl Unpin for ActixRejection
impl UnwindSafe for ActixRejection
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