Struct ockam_identity::AllTrustPolicy
source · [−]pub struct AllTrustPolicy<F: TrustPolicy, S: TrustPolicy> { /* private fields */ }
Implementations
sourceimpl<F: TrustPolicy, S: TrustPolicy> AllTrustPolicy<F, S>
impl<F: TrustPolicy, S: TrustPolicy> AllTrustPolicy<F, S>
Trait Implementations
sourceimpl<F: TrustPolicy + Send + Sync + AsyncTryClone, S: TrustPolicy + Send + Sync + AsyncTryClone> AsyncTryClone for AllTrustPolicy<F, S>
impl<F: TrustPolicy + Send + Sync + AsyncTryClone, S: TrustPolicy + Send + Sync + AsyncTryClone> AsyncTryClone for AllTrustPolicy<F, S>
sourceimpl<F: TrustPolicy, S: TrustPolicy> TrustPolicy for AllTrustPolicy<F, S>
impl<F: TrustPolicy, S: TrustPolicy> TrustPolicy for AllTrustPolicy<F, S>
fn check<'life0, 'life1, 'async_trait>(
&'life0 self,
trust_info: &'life1 SecureChannelTrustInfo
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn and<O: TrustPolicy>(self, other: O) -> AllTrustPolicy<Self, O>where
Self: Sized,
fn or<O: TrustPolicy>(self, other: O) -> AnyTrustPolicy<Self, O>where
Self: Sized,
Auto Trait Implementations
impl<F, S> RefUnwindSafe for AllTrustPolicy<F, S>where
F: RefUnwindSafe,
S: RefUnwindSafe,
impl<F, S> Send for AllTrustPolicy<F, S>
impl<F, S> Sync for AllTrustPolicy<F, S>
impl<F, S> Unpin for AllTrustPolicy<F, S>where
F: Unpin,
S: Unpin,
impl<F, S> UnwindSafe for AllTrustPolicy<F, S>where
F: UnwindSafe,
S: 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