Trait CookieJarExt

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

Source

fn delete( &mut self, url: &str, name: &str, complete_cb: CookieDeleteCallbackFn, cb_data: *mut (), )

Source

fn free(&mut self)

Source

fn global() -> CookieJarImpl

Source

fn iterator<'a>( &'a self, url: &str, include_http_only: bool, ) -> CookieIteratorImpl

Source

fn iterator_all<'a>(&'a self) -> CookieIteratorImpl

Source

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.

Implementors§