pub struct VldJsonError { /* private fields */ }Expand description
Error type returned when validation fails.
Used by all Vld* extractors in this crate.
Trait Implementations§
Source§impl Debug for VldJsonError
impl Debug for VldJsonError
Source§impl Display for VldJsonError
impl Display for VldJsonError
Source§impl ResponseError for VldJsonError
impl ResponseError for VldJsonError
Source§fn error_response(&self) -> HttpResponse
fn error_response(&self) -> HttpResponse
Creates full response for error. Read more
Source§fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
Returns appropriate status code for error. Read more
Auto Trait Implementations§
impl Freeze for VldJsonError
impl RefUnwindSafe for VldJsonError
impl Send for VldJsonError
impl Sync for VldJsonError
impl Unpin for VldJsonError
impl UnsafeUnpin for VldJsonError
impl UnwindSafe for VldJsonError
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