webkit2gtk

Trait WebsiteDataManagerExt

Source
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ยง

Source

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.
Source

fn fetch_future( &self, types: WebsiteDataTypes, ) -> Pin<Box_<dyn Future<Output = Result<Vec<WebsiteData>, Error>> + 'static>>

Available on crate feature v2_16 only.
Source

fn base_cache_directory(&self) -> Option<GString>

Source

fn base_data_directory(&self) -> Option<GString>

Source

fn cookie_manager(&self) -> Option<CookieManager>

Available on crate feature v2_16 only.
Source

fn disk_cache_directory(&self) -> Option<GString>

๐Ÿ‘ŽDeprecated: Since 2.40
Source

fn dom_cache_directory(&self) -> Option<GString>

๐Ÿ‘ŽDeprecated: Since 2.40
Available on crate feature v2_30 only.
Source

fn hsts_cache_directory(&self) -> Option<GString>

๐Ÿ‘ŽDeprecated: Since 2.40
Available on crate feature v2_26 only.
Source

fn indexeddb_directory(&self) -> Option<GString>

๐Ÿ‘ŽDeprecated: Since 2.40
Source

fn itp_directory(&self) -> Option<GString>

๐Ÿ‘ŽDeprecated: Since 2.40
Available on crate feature v2_30 only.
Source

fn is_itp_enabled(&self) -> bool

Available on crate feature v2_30 only.
Source

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.
Source

fn itp_summary_future( &self, ) -> Pin<Box_<dyn Future<Output = Result<Vec<ITPThirdParty>, Error>> + 'static>>

Available on crate feature v2_30 only.
Source

fn local_storage_directory(&self) -> Option<GString>

๐Ÿ‘ŽDeprecated: Since 2.40
Source

fn offline_application_cache_directory(&self) -> Option<GString>

๐Ÿ‘ŽDeprecated: Since 2.40
Source

fn is_persistent_credential_storage_enabled(&self) -> bool

Available on crate feature v2_30 only.
Source

fn service_worker_registrations_directory(&self) -> Option<GString>

๐Ÿ‘ŽDeprecated: Since 2.40
Available on crate feature v2_30 only.
Source

fn tls_errors_policy(&self) -> TLSErrorsPolicy

Available on crate feature v2_32 only.
Source

fn websql_directory(&self) -> Option<GString>

๐Ÿ‘ŽDeprecated: Since 2.24
Source

fn is_ephemeral(&self) -> bool

Available on crate feature v2_16 only.
Source

fn set_itp_enabled(&self, enabled: bool)

Available on crate feature v2_30 only.
Source

fn set_network_proxy_settings( &self, proxy_mode: NetworkProxyMode, proxy_settings: Option<&mut NetworkProxySettings>, )

Available on crate feature v2_32 only.
Source

fn set_persistent_credential_storage_enabled(&self, enabled: bool)

Available on crate feature v2_30 only.
Source

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.

Implementorsยง