pub trait CookieJarExt {
// Required methods
fn delete(
&mut self,
url: &str,
name: &str,
complete_cb: CookieDeleteCallbackFn,
cb_data: *mut (),
);
fn free(&mut self);
fn global() -> CookieJarImpl;
fn iterator<'a>(
&'a self,
url: &str,
include_http_only: bool,
) -> CookieIteratorImpl;
fn iterator_all<'a>(&'a self) -> CookieIteratorImpl;
fn store(
&mut self,
url: &str,
cookie: &CookieImpl,
success_cb: Option<CookieStorageCallbackFn>,
cb_data: *mut (),
);
}
Required Methods§
fn delete( &mut self, url: &str, name: &str, complete_cb: CookieDeleteCallbackFn, cb_data: *mut (), )
fn free(&mut self)
fn global() -> CookieJarImpl
fn iterator<'a>( &'a self, url: &str, include_http_only: bool, ) -> CookieIteratorImpl
fn iterator_all<'a>(&'a self) -> CookieIteratorImpl
fn store( &mut self, url: &str, cookie: &CookieImpl, success_cb: Option<CookieStorageCallbackFn>, cb_data: *mut (), )
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.