Struct rustls::NoServerSessionStorage [−][src]
pub struct NoServerSessionStorage {}
Something which never stores sessions.
Trait Implementations
impl StoresServerSessions for NoServerSessionStorage
[src]
impl StoresServerSessions for NoServerSessionStorage
fn generate(&self) -> SessionID
[src]
fn generate(&self) -> SessionID
Generate a session ID.
fn put(&self, _id: Vec<u8>, _sec: Vec<u8>) -> bool
[src]
fn put(&self, _id: Vec<u8>, _sec: Vec<u8>) -> bool
Store session secrets encoded in value
against key id
, overwrites any existing value against id
. 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 session with the given id
. Return it, or None if it doesn't exist. Read more
Auto Trait Implementations
impl Send for NoServerSessionStorage
impl Send for NoServerSessionStorage
impl Sync for NoServerSessionStorage
impl Sync for NoServerSessionStorage