pub enum ValidatedRejection<R> {
Extract(R),
Validation(ValidationErrors),
}Variants§
Extract(R)
Validation(ValidationErrors)
Trait Implementations§
Source§impl<R> Debug for ValidatedRejection<R>where
R: Debug,
impl<R> Debug for ValidatedRejection<R>where
R: Debug,
Source§impl<R> IntoResponse for ValidatedRejection<R>where
R: IntoResponse,
impl<R> IntoResponse for ValidatedRejection<R>where
R: IntoResponse,
fn into_response(self) -> Response
Auto Trait Implementations§
impl<R> Freeze for ValidatedRejection<R>where
R: Freeze,
impl<R> RefUnwindSafe for ValidatedRejection<R>where
R: RefUnwindSafe,
impl<R> Send for ValidatedRejection<R>where
R: Send,
impl<R> Sync for ValidatedRejection<R>where
R: Sync,
impl<R> Unpin for ValidatedRejection<R>where
R: Unpin,
impl<R> UnsafeUnpin for ValidatedRejection<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for ValidatedRejection<R>where
R: 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