Trait ockam_entity::TrustPolicy
source · [−]pub trait TrustPolicy: AsyncTryClone + Send + Sync + 'static {
fn check<'life0, 'life1, 'async_trait>(
&'life0 mut 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;
}