pub struct NetworkSessionCache { /* private fields */ }Expand description
In-process cache of “approve once for this session” decisions. Keyed by normalized host. Thread-safe.
Implementations§
Trait Implementations§
Source§impl Clone for NetworkSessionCache
impl Clone for NetworkSessionCache
Source§fn clone(&self) -> NetworkSessionCache
fn clone(&self) -> NetworkSessionCache
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NetworkSessionCache
impl Debug for NetworkSessionCache
Source§impl Default for NetworkSessionCache
impl Default for NetworkSessionCache
Source§fn default() -> NetworkSessionCache
fn default() -> NetworkSessionCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NetworkSessionCache
impl RefUnwindSafe for NetworkSessionCache
impl Send for NetworkSessionCache
impl Sync for NetworkSessionCache
impl Unpin for NetworkSessionCache
impl UnsafeUnpin for NetworkSessionCache
impl UnwindSafe for NetworkSessionCache
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