pub struct NameKeyedJar { /* private fields */ }Expand description
Thread-safe, name-keyed cookie store. set_cookies parses each
Set-Cookie value and stores (name → value) ignoring everything
after the first ; (attributes like Path, HttpOnly, Secure).
Implementations§
Trait Implementations§
Source§impl CookieStore for NameKeyedJar
impl CookieStore for NameKeyedJar
Store a set of Set-Cookie header values received from
urlGet any Cookie values in the store for
urlSource§impl Debug for NameKeyedJar
impl Debug for NameKeyedJar
Source§impl Default for NameKeyedJar
impl Default for NameKeyedJar
Source§fn default() -> NameKeyedJar
fn default() -> NameKeyedJar
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for NameKeyedJar
impl RefUnwindSafe for NameKeyedJar
impl Send for NameKeyedJar
impl Sync for NameKeyedJar
impl Unpin for NameKeyedJar
impl UnsafeUnpin for NameKeyedJar
impl UnwindSafe for NameKeyedJar
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