pub trait CookieManagerExt: IsA<CookieManager> + Sealed + 'static {
Show 15 methods // Provided methods fn add_cookie<P: FnOnce(Result<(), Error>) + 'static>( &self, cookie: &mut Cookie, cancellable: Option<&impl IsA<Cancellable>>, callback: P ) { ... } fn add_cookie_future( &self, cookie: &mut Cookie ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>> { ... } fn delete_all_cookies(&self) { ... } fn delete_cookie<P: FnOnce(Result<(), Error>) + 'static>( &self, cookie: &mut Cookie, cancellable: Option<&impl IsA<Cancellable>>, callback: P ) { ... } fn delete_cookie_future( &self, cookie: &mut Cookie ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>> { ... } fn delete_cookies_for_domain(&self, domain: &str) { ... } fn accept_policy<P: FnOnce(Result<CookieAcceptPolicy, Error>) + 'static>( &self, cancellable: Option<&impl IsA<Cancellable>>, callback: P ) { ... } fn accept_policy_future( &self ) -> Pin<Box_<dyn Future<Output = Result<CookieAcceptPolicy, Error>> + 'static>> { ... } fn cookies<P: FnOnce(Result<Vec<Cookie>, Error>) + 'static>( &self, uri: &str, cancellable: Option<&impl IsA<Cancellable>>, callback: P ) { ... } fn cookies_future( &self, uri: &str ) -> Pin<Box_<dyn Future<Output = Result<Vec<Cookie>, Error>> + 'static>> { ... } fn domains_with_cookies<P: FnOnce(Result<Vec<GString>, Error>) + 'static>( &self, cancellable: Option<&impl IsA<Cancellable>>, callback: P ) { ... } fn domains_with_cookies_future( &self ) -> Pin<Box_<dyn Future<Output = Result<Vec<GString>, Error>> + 'static>> { ... } fn set_accept_policy(&self, policy: CookieAcceptPolicy) { ... } fn set_persistent_storage( &self, filename: &str, storage: CookiePersistentStorage ) { ... } fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
}

Provided Methods§

Available on crate feature v2_20 only.
Available on crate feature v2_20 only.
source

fn delete_all_cookies(&self)

👎Deprecated: Since 2.16
Available on crate feature v2_20 only.
Available on crate feature v2_20 only.
source

fn delete_cookies_for_domain(&self, domain: &str)

👎Deprecated: Since 2.16
source

fn accept_policy<P: FnOnce(Result<CookieAcceptPolicy, Error>) + 'static>( &self, cancellable: Option<&impl IsA<Cancellable>>, callback: P )

source

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

source

fn cookies<P: FnOnce(Result<Vec<Cookie>, Error>) + 'static>( &self, uri: &str, cancellable: Option<&impl IsA<Cancellable>>, callback: P )

Available on crate feature v2_20 only.
source

fn cookies_future( &self, uri: &str ) -> Pin<Box_<dyn Future<Output = Result<Vec<Cookie>, Error>> + 'static>>

Available on crate feature v2_20 only.
source

fn domains_with_cookies<P: FnOnce(Result<Vec<GString>, Error>) + 'static>( &self, cancellable: Option<&impl IsA<Cancellable>>, callback: P )

👎Deprecated: Since 2.16
source

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

👎Deprecated: Since 2.16
source

fn set_accept_policy(&self, policy: CookieAcceptPolicy)

source

fn set_persistent_storage( &self, filename: &str, storage: CookiePersistentStorage )

source

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

Object Safety§

This trait is not object safe.

Implementors§