Struct matrix_sdk_crypto::store::caches::SessionStore [−][src]
pub struct SessionStore { /* fields omitted */ }Expand description
In-memory store for Olm Sessions.
Implementations
Add a session to the store.
Returns true if the session was added, false if the session was already in the store.
Get all the sessions that belong to the given sender key.
Add a list of sessions belonging to the sender key.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for SessionStore
impl Send for SessionStore
impl Sync for SessionStore
impl Unpin for SessionStore
impl !UnwindSafe for SessionStore
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more