pub struct TextErrorResponse;
Expand description
Creates HTTP errors responses where the “reason” is provided as the text contents of the response and the status is used as the HTTP status
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextErrorResponse
impl RefUnwindSafe for TextErrorResponse
impl Send for TextErrorResponse
impl Sync for TextErrorResponse
impl Unpin for TextErrorResponse
impl UnwindSafe for TextErrorResponse
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