pub trait CookieJarExt: 'static {
    fn all_cookies(&self) -> Vec<Cookie>;
    fn accept_policy(&self) -> CookieJarAcceptPolicy;
    fn cookie_list(&self, uri: &Uri, for_http: bool) -> Vec<Cookie>;
    fn cookie_list_with_same_site_info(
        &self,
        uri: &Uri,
        top_level: Option<&Uri>,
        site_for_cookies: Option<&Uri>,
        for_http: bool,
        is_safe_method: bool,
        is_top_level_navigation: bool
    ) -> Vec<Cookie>; fn cookies(&self, uri: &Uri, for_http: bool) -> Option<GString>; fn is_persistent(&self) -> bool; fn set_accept_policy(&self, policy: CookieJarAcceptPolicy); fn set_cookie(&self, uri: &Uri, cookie: &str); fn set_cookie_with_first_party(
        &self,
        uri: &Uri,
        first_party: &Uri,
        cookie: &str
    ); fn is_read_only(&self) -> bool; fn connect_changed<F: Fn(&Self, &Cookie, &Cookie) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_accept_policy_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required Methods§

Implementors§