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
Make a new ClientSessionMemoryCache. size
is the
maximum number of stored sessions.