pub struct Session { /* private fields */ }Expand description
An operator-supplied authenticated session for a site: a bag of HTTP
headers (typically Cookie, sometimes Authorization / CSRF
tokens) applied to probes for sites whose access.session names it.
This is “use a real account”, not evasion — the operator brings a
session they’re entitled to. Header values are secrets: they’re
redacted from Debug and are never logged or serialised.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
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