pub trait TrustPolicy: Send + Sync + 'static {
    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
, { ... } }

Required Methods

Provided Methods

Implementations on Foreign Types

Implementors