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§
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
Object Safety§
This trait is not object safe.