pub struct ErrorWithResponse<T> {
pub error: T,
pub response: Option<HttpResponse>,
}
Expand description
§ErrorWithResponse
Returned error type from
Fields§
§error: T
The error
response: Option<HttpResponse>
Response
Auto Trait Implementations§
impl<T> Freeze for ErrorWithResponse<T>where
T: Freeze,
impl<T> RefUnwindSafe for ErrorWithResponse<T>where
T: RefUnwindSafe,
impl<T> Send for ErrorWithResponse<T>where
T: Send,
impl<T> Sync for ErrorWithResponse<T>where
T: Sync,
impl<T> Unpin for ErrorWithResponse<T>where
T: Unpin,
impl<T> UnwindSafe for ErrorWithResponse<T>where
T: UnwindSafe,
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