pub trait HSTSEnforcerExt: 'static {
    fn domains(&self, session_policies: bool) -> Vec<GString>;
    fn policies(&self, session_policies: bool) -> Vec<HSTSPolicy>;
    fn has_valid_policy(&self, domain: &str) -> bool;
    fn is_persistent(&self) -> bool;
    fn set_policy(&self, policy: &mut HSTSPolicy);
    fn set_session_policy(&self, domain: &str, include_subdomains: bool);
    fn connect_changed<F: Fn(&Self, &HSTSPolicy, &HSTSPolicy) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required Methods§

Implementors§