Struct And
pub struct And<A, B> { /* private fields */ }
A redirection Policy that combines the results of two Policys.
See [PolicyExt::and][super::PolicyExt::and] for more details.
Trait Implementations
impl<A: Clone, B: Clone> Clone for And<A, B>
fn clone(&self) -> Self
impl<A: Copy, B: Copy> Copy for And<A, B>
impl<A: Debug, B: Debug> Debug for And<A, B>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<A: Default, B: Default> Default for And<A, B>
fn default() -> Self
impl<Bd, E, A, B> Policy<Bd, E> for And<A, B>
where
A: Policy<Bd, E>,
B: Policy<Bd, E>,
fn redirect(&mut self, attempt: &Attempt<'_>) -> Result<Action, E>fn on_request(&mut self, request: &mut Request<Bd>)fn clone_body(&self, body: &Bd) -> Option<Bd>