Struct rustls::NoServerSessionStorage [−][src]
pub struct NoServerSessionStorage {}Something which never stores sessions.
Trait Implementations
impl StoresServerSessions for NoServerSessionStorage[src]
impl StoresServerSessions for NoServerSessionStoragefn put(&self, _id: Vec<u8>, _sec: Vec<u8>) -> bool[src]
fn put(&self, _id: Vec<u8>, _sec: Vec<u8>) -> boolStore session secrets encoded in value against key, overwrites any existing value against key. Returns true if the value was stored. Read more
fn get(&self, _id: &[u8]) -> Option<Vec<u8>>[src]
fn get(&self, _id: &[u8]) -> Option<Vec<u8>>Find a value with the given key. Return it, or None if it doesn't exist. Read more
fn take(&self, _id: &[u8]) -> Option<Vec<u8>>[src]
fn take(&self, _id: &[u8]) -> Option<Vec<u8>>Find a value with the given key. Return it and delete it; or None if it doesn't exist. Read more
Auto Trait Implementations
impl Send for NoServerSessionStorage
impl Send for NoServerSessionStorageimpl Sync for NoServerSessionStorage
impl Sync for NoServerSessionStorage