pub struct Tuple2<A, B> { /* private fields */ }Expand description
Combines two ValidationPolicy values so that both must be met for the combination to be met.
Built by the policy! macro when composing a flat sequence of policies; can also be constructed
directly for manual, non-macro composition.
Implementations§
Trait Implementations§
Source§impl<A: ValidationPolicy, B: ValidationPolicy> ValidationPolicy for Tuple2<A, B>
impl<A: ValidationPolicy, B: ValidationPolicy> ValidationPolicy for Tuple2<A, B>
Source§fn verifying_critical_extensions(&self) -> Vec<Oid<'static>>
fn verifying_critical_extensions(&self) -> Vec<Oid<'static>>
The X.509 extension types that this policy understands and enforces. Read more
Source§fn chain_meets_policy_requirements(
&self,
chain: &UnverifiedCertificateChain<'_>,
) -> PolicyEvaluationResult
fn chain_meets_policy_requirements( &self, chain: &UnverifiedCertificateChain<'_>, ) -> PolicyEvaluationResult
Called to determine whether a given
UnverifiedCertificateChain meets the requirements of this policy. Read moreAuto Trait Implementations§
impl<A, B> Freeze for Tuple2<A, B>
impl<A, B> RefUnwindSafe for Tuple2<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Tuple2<A, B>
impl<A, B> Sync for Tuple2<A, B>
impl<A, B> Unpin for Tuple2<A, B>
impl<A, B> UnsafeUnpin for Tuple2<A, B>where
A: UnsafeUnpin,
B: UnsafeUnpin,
impl<A, B> UnwindSafe for Tuple2<A, B>where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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