Trait soup::prelude::HSTSEnforcerExt

source ·
pub trait HSTSEnforcerExt: IsA<HSTSEnforcer> + Sealed + 'static {
    // Provided methods
    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 { ... }
}

Provided Methods§

source

fn domains(&self, session_policies: bool) -> Vec<GString>

source

fn policies(&self, session_policies: bool) -> Vec<HSTSPolicy>

source

fn has_valid_policy(&self, domain: &str) -> bool

source

fn is_persistent(&self) -> bool

source

fn set_policy(&self, policy: &mut HSTSPolicy)

source

fn set_session_policy(&self, domain: &str, include_subdomains: bool)

source

fn connect_changed<F: Fn(&Self, &HSTSPolicy, &HSTSPolicy) + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§