Trait ockam_entity::TrustPolicy [−][src]
pub trait TrustPolicy: Clone + Send + 'static { fn check(&self, trust_info: &SecureChannelTrustInfo) -> Result<bool>; }
Required methods
fn check(&self, trust_info: &SecureChannelTrustInfo) -> Result<bool>