Trait webkit2gtk::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§
sourcefn fetch<P: FnOnce(Result<Vec<WebsiteData>, Error>) + 'static>(
&self,
types: WebsiteDataTypes,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P
)
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.sourcefn fetch_future(
&self,
types: WebsiteDataTypes
) -> Pin<Box_<dyn Future<Output = Result<Vec<WebsiteData>, Error>> + 'static>>
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.sourcefn disk_cache_directory(&self) -> Option<GString>
fn disk_cache_directory(&self) -> Option<GString>
👎Deprecated: Since 2.40
sourcefn dom_cache_directory(&self) -> Option<GString>
fn dom_cache_directory(&self) -> Option<GString>
👎Deprecated: Since 2.40
Available on crate feature
v2_30
only.sourcefn hsts_cache_directory(&self) -> Option<GString>
fn hsts_cache_directory(&self) -> Option<GString>
👎Deprecated: Since 2.40
Available on crate feature
v2_26
only.sourcefn indexeddb_directory(&self) -> Option<GString>
fn indexeddb_directory(&self) -> Option<GString>
👎Deprecated: Since 2.40
sourcefn itp_directory(&self) -> Option<GString>
fn itp_directory(&self) -> Option<GString>
👎Deprecated: Since 2.40
Available on crate feature
v2_30
only.sourcefn is_itp_enabled(&self) -> bool
fn is_itp_enabled(&self) -> bool
Available on crate feature
v2_30
only.sourcefn itp_summary<P: FnOnce(Result<Vec<ITPThirdParty>, Error>) + 'static>(
&self,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P
)
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.sourcefn itp_summary_future(
&self
) -> Pin<Box_<dyn Future<Output = Result<Vec<ITPThirdParty>, Error>> + 'static>>
fn itp_summary_future( &self ) -> Pin<Box_<dyn Future<Output = Result<Vec<ITPThirdParty>, Error>> + 'static>>
Available on crate feature
v2_30
only.sourcefn local_storage_directory(&self) -> Option<GString>
fn local_storage_directory(&self) -> Option<GString>
👎Deprecated: Since 2.40
sourcefn offline_application_cache_directory(&self) -> Option<GString>
fn offline_application_cache_directory(&self) -> Option<GString>
👎Deprecated: Since 2.40
sourcefn is_persistent_credential_storage_enabled(&self) -> bool
fn is_persistent_credential_storage_enabled(&self) -> bool
Available on crate feature
v2_30
only.sourcefn service_worker_registrations_directory(&self) -> Option<GString>
fn service_worker_registrations_directory(&self) -> Option<GString>
👎Deprecated: Since 2.40
Available on crate feature
v2_30
only.sourcefn tls_errors_policy(&self) -> TLSErrorsPolicy
fn tls_errors_policy(&self) -> TLSErrorsPolicy
Available on crate feature
v2_32
only.sourcefn websql_directory(&self) -> Option<GString>
fn websql_directory(&self) -> Option<GString>
👎Deprecated: Since 2.24
sourcefn is_ephemeral(&self) -> bool
fn is_ephemeral(&self) -> bool
Available on crate feature
v2_16
only.sourcefn set_itp_enabled(&self, enabled: bool)
fn set_itp_enabled(&self, enabled: bool)
Available on crate feature
v2_30
only.sourcefn set_network_proxy_settings(
&self,
proxy_mode: NetworkProxyMode,
proxy_settings: Option<&mut NetworkProxySettings>
)
fn set_network_proxy_settings( &self, proxy_mode: NetworkProxyMode, proxy_settings: Option<&mut NetworkProxySettings> )
Available on crate feature
v2_32
only.sourcefn set_persistent_credential_storage_enabled(&self, enabled: bool)
fn set_persistent_credential_storage_enabled(&self, enabled: bool)
Available on crate feature
v2_30
only.sourcefn set_tls_errors_policy(&self, policy: TLSErrorsPolicy)
fn set_tls_errors_policy(&self, policy: TLSErrorsPolicy)
Available on crate feature
v2_32
only.Object Safety§
This trait is not object safe.