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