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