pub struct CookieManager(/* private fields */);Expand description
Reads, writes, and deletes the browser’s cookies. Obtain it with
WebView::cookie_manager.
Implementations§
Source§impl CookieManager
impl CookieManager
Asynchronously retrieves the cookies that apply to uri (or all cookies
when uri is empty). The handler closure receives them on the UI
thread.
Adds the cookie, or updates the existing cookie with the same name, domain, and path.
Deletes cookies with the matching name that apply to uri.
Deletes cookies with the matching name, domain, and path.
Deletes all cookies.
Auto Trait Implementations§
impl !Send for CookieManager
impl !Sync for CookieManager
impl Freeze for CookieManager
impl RefUnwindSafe for CookieManager
impl Unpin for CookieManager
impl UnsafeUnpin for CookieManager
impl UnwindSafe for CookieManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more