pub struct NtexRejection(/* private fields */);
Expand description
An HTTP rejection response for ntex
.
Trait Implementations§
Source§impl Debug for NtexRejection
impl Debug for NtexRejection
Source§impl Display for NtexRejection
impl Display for NtexRejection
Source§impl From<Rejection> for NtexRejection
impl From<Rejection> for NtexRejection
Source§impl ResponseError for NtexRejection
impl ResponseError for NtexRejection
Source§fn error_response(&self) -> HttpResponse
fn error_response(&self) -> HttpResponse
Create response for error Read more
Source§impl WebResponseError for NtexRejection
impl WebResponseError for NtexRejection
Source§fn error_response(&self, _: &HttpRequest) -> HttpResponse
fn error_response(&self, _: &HttpRequest) -> HttpResponse
Generate response for error Read more
Source§fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
Response’s status code Read more
Auto Trait Implementations§
impl !Freeze for NtexRejection
impl RefUnwindSafe for NtexRejection
impl Send for NtexRejection
impl Sync for NtexRejection
impl Unpin for NtexRejection
impl UnwindSafe for NtexRejection
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