pub enum Error<B, V> {
BodyBuffering(B),
Validation(V),
}Expand description
An error that can occur while validating the request.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<B, V> Freeze for Error<B, V>
impl<B, V> RefUnwindSafe for Error<B, V>where
B: RefUnwindSafe,
V: RefUnwindSafe,
impl<B, V> Send for Error<B, V>
impl<B, V> Sync for Error<B, V>
impl<B, V> Unpin for Error<B, V>
impl<B, V> UnwindSafe for Error<B, V>where
B: UnwindSafe,
V: 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