pub struct ClientSessionMemoryCache { /* fields omitted */ }
An implementor of StoresClientSessions
that stores everything
in memory. It enforces a limit on the number of entries
to bound memory usage.
Make a new ClientSessionMemoryCache. size
is the
maximum number of stored sessions.
Stores a new value
for key
. Returns true
if the value was stored. Read more
Returns the latest value for key
. Returns None
if there's no such value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static