pub type TrustHandler = Rc<dyn Fn(&TrustContext) -> bool>;
A callback deciding whether a trust context is accepted.
pub struct TrustHandler { /* private fields */ }