pub struct NoServerSessionStorage {}
Expand description
Something which never stores sessions.
Trait Implementations§
Source§impl Debug for NoServerSessionStorage
impl Debug for NoServerSessionStorage
Source§impl StoresServerSessions for NoServerSessionStorage
impl StoresServerSessions for NoServerSessionStorage
Source§fn 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.Source§fn get(&self, _id: &[u8]) -> Option<Vec<u8>>
fn get(&self, _id: &[u8]) -> Option<Vec<u8>>
Find a value with the given
key
. Return it, or None
if it doesn’t exist.Auto Trait Implementations§
impl Freeze for NoServerSessionStorage
impl RefUnwindSafe for NoServerSessionStorage
impl Send for NoServerSessionStorage
impl Sync for NoServerSessionStorage
impl Unpin for NoServerSessionStorage
impl UnwindSafe for NoServerSessionStorage
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes