Skip to main content

TrustHandler

Type Alias TrustHandler 

Source
pub type TrustHandler = Rc<dyn Fn(&TrustContext) -> bool>;
Expand description

A callback deciding whether a trust context is accepted.

Aliased Typeยง

pub struct TrustHandler { /* private fields */ }