Struct actix_web::dev::EitherConfig
source · pub struct EitherConfig<A, B, S>where
A: FromRequest<S>,
B: FromRequest<S>,{ /* private fields */ }Expand description
Determines Either extractor configuration
By default EitherCollisionStrategy::FastestSuccessful is used.
Trait Implementations
sourceimpl<A, B, S> Default for EitherConfig<A, B, S>where
A: FromRequest<S>,
B: FromRequest<S>,
impl<A, B, S> Default for EitherConfig<A, B, S>where
A: FromRequest<S>,
B: FromRequest<S>,
Auto Trait Implementations
impl<A, B, S> RefUnwindSafe for EitherConfig<A, B, S>where
<A as FromRequest<S>>::Config: RefUnwindSafe,
<B as FromRequest<S>>::Config: RefUnwindSafe,
impl<A, B, S> Send for EitherConfig<A, B, S>where
<A as FromRequest<S>>::Config: Send,
<B as FromRequest<S>>::Config: Send,
impl<A, B, S> Sync for EitherConfig<A, B, S>where
<A as FromRequest<S>>::Config: Sync,
<B as FromRequest<S>>::Config: Sync,
impl<A, B, S> Unpin for EitherConfig<A, B, S>where
<A as FromRequest<S>>::Config: Unpin,
<B as FromRequest<S>>::Config: Unpin,
impl<A, B, S> UnwindSafe for EitherConfig<A, B, S>where
<A as FromRequest<S>>::Config: UnwindSafe,
<B as FromRequest<S>>::Config: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more