pub trait WebsiteDataManagerExt:
IsA<WebsiteDataManager>
+ Sealed
+ 'static {
Show 24 methods
// Provided methods
fn fetch<P: FnOnce(Result<Vec<WebsiteData>, Error>) + 'static>(
&self,
types: WebsiteDataTypes,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P,
) { ... }
fn fetch_future(
&self,
types: WebsiteDataTypes,
) -> Pin<Box_<dyn Future<Output = Result<Vec<WebsiteData>, Error>> + 'static>> { ... }
fn base_cache_directory(&self) -> Option<GString> { ... }
fn base_data_directory(&self) -> Option<GString> { ... }
fn cookie_manager(&self) -> Option<CookieManager> { ... }
fn disk_cache_directory(&self) -> Option<GString> { ... }
fn dom_cache_directory(&self) -> Option<GString> { ... }
fn hsts_cache_directory(&self) -> Option<GString> { ... }
fn indexeddb_directory(&self) -> Option<GString> { ... }
fn itp_directory(&self) -> Option<GString> { ... }
fn is_itp_enabled(&self) -> bool { ... }
fn itp_summary<P: FnOnce(Result<Vec<ITPThirdParty>, Error>) + 'static>(
&self,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P,
) { ... }
fn itp_summary_future(
&self,
) -> Pin<Box_<dyn Future<Output = Result<Vec<ITPThirdParty>, Error>> + 'static>> { ... }
fn local_storage_directory(&self) -> Option<GString> { ... }
fn offline_application_cache_directory(&self) -> Option<GString> { ... }
fn is_persistent_credential_storage_enabled(&self) -> bool { ... }
fn service_worker_registrations_directory(&self) -> Option<GString> { ... }
fn tls_errors_policy(&self) -> TLSErrorsPolicy { ... }
fn websql_directory(&self) -> Option<GString> { ... }
fn is_ephemeral(&self) -> bool { ... }
fn set_itp_enabled(&self, enabled: bool) { ... }
fn set_network_proxy_settings(
&self,
proxy_mode: NetworkProxyMode,
proxy_settings: Option<&mut NetworkProxySettings>,
) { ... }
fn set_persistent_credential_storage_enabled(&self, enabled: bool) { ... }
fn set_tls_errors_policy(&self, policy: TLSErrorsPolicy) { ... }
}
Available on crate feature
v2_10
only.Provided Methodsยง
fn fetch<P: FnOnce(Result<Vec<WebsiteData>, Error>) + 'static>( &self, types: WebsiteDataTypes, cancellable: Option<&impl IsA<Cancellable>>, callback: P, )
Available on crate feature
v2_16
only.fn fetch_future( &self, types: WebsiteDataTypes, ) -> Pin<Box_<dyn Future<Output = Result<Vec<WebsiteData>, Error>> + 'static>>
Available on crate feature
v2_16
only.fn base_cache_directory(&self) -> Option<GString>
fn base_data_directory(&self) -> Option<GString>
Available on crate feature
v2_16
only.fn disk_cache_directory(&self) -> Option<GString>
๐Deprecated: Since 2.40
fn dom_cache_directory(&self) -> Option<GString>
๐Deprecated: Since 2.40
Available on crate feature
v2_30
only.fn hsts_cache_directory(&self) -> Option<GString>
๐Deprecated: Since 2.40
Available on crate feature
v2_26
only.fn indexeddb_directory(&self) -> Option<GString>
๐Deprecated: Since 2.40
fn itp_directory(&self) -> Option<GString>
๐Deprecated: Since 2.40
Available on crate feature
v2_30
only.fn is_itp_enabled(&self) -> bool
Available on crate feature
v2_30
only.fn itp_summary<P: FnOnce(Result<Vec<ITPThirdParty>, Error>) + 'static>( &self, cancellable: Option<&impl IsA<Cancellable>>, callback: P, )
Available on crate feature
v2_30
only.fn itp_summary_future( &self, ) -> Pin<Box_<dyn Future<Output = Result<Vec<ITPThirdParty>, Error>> + 'static>>
Available on crate feature
v2_30
only.fn local_storage_directory(&self) -> Option<GString>
๐Deprecated: Since 2.40
fn offline_application_cache_directory(&self) -> Option<GString>
๐Deprecated: Since 2.40
fn is_persistent_credential_storage_enabled(&self) -> bool
Available on crate feature
v2_30
only.fn service_worker_registrations_directory(&self) -> Option<GString>
๐Deprecated: Since 2.40
Available on crate feature
v2_30
only.fn tls_errors_policy(&self) -> TLSErrorsPolicy
Available on crate feature
v2_32
only.fn websql_directory(&self) -> Option<GString>
๐Deprecated: Since 2.24
fn is_ephemeral(&self) -> bool
Available on crate feature
v2_16
only.fn set_itp_enabled(&self, enabled: bool)
Available on crate feature
v2_30
only.fn set_network_proxy_settings( &self, proxy_mode: NetworkProxyMode, proxy_settings: Option<&mut NetworkProxySettings>, )
Available on crate feature
v2_32
only.fn set_persistent_credential_storage_enabled(&self, enabled: bool)
Available on crate feature
v2_30
only.fn set_tls_errors_policy(&self, policy: TLSErrorsPolicy)
Available on crate feature
v2_32
only.Dyn Compatibilityยง
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.