pub struct ErrorResponse(/* private fields */);
Trait Implementations§
Source§impl From<Error> for ErrorResponse
impl From<Error> for ErrorResponse
Source§impl From<ErrorTemplate<'_>> for ErrorResponse
impl From<ErrorTemplate<'_>> for ErrorResponse
Source§fn from(tmpl: ErrorTemplate<'_>) -> Self
fn from(tmpl: ErrorTemplate<'_>) -> Self
Converts to this type from the input type.
Source§impl IntoResponse for ErrorResponse
impl IntoResponse for ErrorResponse
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for ErrorResponse
impl !RefUnwindSafe for ErrorResponse
impl Send for ErrorResponse
impl !Sync for ErrorResponse
impl Unpin for ErrorResponse
impl !UnwindSafe for ErrorResponse
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