pub enum Cookies {
Platform,
Jar(Arc<CookieJar>),
Off,
}Expand description
Where a client keeps cookies.
Variants§
Platform
The platform’s store: HTTPCookieStorage on Apple, the browser’s jar on the web. Where
the platform offers none to share (Capabilities::platform_cookies), an in-memory
CookieJar.
Jar(Arc<CookieJar>)
This jar, which the client reads and writes itself.
Off
Send none and keep none.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Cookies
impl Freeze for Cookies
impl Move for Cookies
impl RefUnwindSafe for Cookies
impl Send for Cookies
impl Sync for Cookies
impl Unpin for Cookies
impl UnsafeUnpin for Cookies
impl UnwindSafe for Cookies
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