Struct rustls::ServerSessionMemoryCache [−][src]
pub struct ServerSessionMemoryCache { /* fields omitted */ }An implementor of StoresServerSessions that stores everything
in memory. If enforces a limit on the number of stored sessions
to bound memory usage.
Implementations
impl ServerSessionMemoryCache[src]
impl ServerSessionMemoryCache[src]pub fn new(size: usize) -> Arc<ServerSessionMemoryCache>[src]
Make a new ServerSessionMemoryCache. size is the maximum
number of stored sessions.