pub enum Input<P, B, R = Infallible> {
Params(P),
Body(B),
Retain(R),
}Expand description
Exact failure while constructing request input from routed parameters or body data.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<P, B, R> Forget for Input<P, B, R>
impl<P, B, R> Freeze for Input<P, B, R>
impl<P, B, R> RefUnwindSafe for Input<P, B, R>
impl<P, B, R> Send for Input<P, B, R>
impl<P, B, R> Sync for Input<P, B, R>
impl<P, B, R> Unpin for Input<P, B, R>
impl<P, B, R> UnsafeUnpin for Input<P, B, R>
impl<P, B, R> UnwindSafe for Input<P, B, R>
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