pub struct JsonError(/* private fields */);Trait Implementations§
source§impl From<JsonRejection> for JsonError
impl From<JsonRejection> for JsonError
Convert the JsonRejection into JsonError(serror::Error)
source§fn from(rejection: JsonRejection) -> Self
fn from(rejection: JsonRejection) -> Self
Converts to this type from the input type.
source§impl IntoResponse for JsonError
impl IntoResponse for JsonError
source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for JsonError
impl RefUnwindSafe for JsonError
impl Send for JsonError
impl Sync for JsonError
impl Unpin for JsonError
impl UnwindSafe for JsonError
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