Struct rustls::NoServerSessionStorage
source · [−]pub struct NoServerSessionStorage {}
Expand description
Something which never stores sessions.
Trait Implementations
sourceimpl StoresServerSessions for NoServerSessionStorage
impl StoresServerSessions for NoServerSessionStorage
sourcefn put(&self, _id: Vec<u8>, _sec: Vec<u8>) -> bool
fn put(&self, _id: Vec<u8>, _sec: Vec<u8>) -> bool
Store session secrets encoded in
value
against key
,
overwrites any existing value against key
. Returns true
if the value was stored. Read moreAuto Trait Implementations
impl RefUnwindSafe for NoServerSessionStorage
impl Send for NoServerSessionStorage
impl Sync for NoServerSessionStorage
impl Unpin for NoServerSessionStorage
impl UnwindSafe for NoServerSessionStorage
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more