Struct matrix_sdk_crypto::store::caches::GroupSessionStore [−][src]
pub struct GroupSessionStore { /* fields omitted */ }Expand description
In-memory store that holds inbound group sessions.
Implementations
Add an inbound group session to the store.
Returns true if the session was added, false if the session was already in the store.
Get all the group sessions the store knows about.
Get a inbound group session from our store.
Arguments
-
room_id- The room id of the room that the session belongs to. -
sender_key- The sender key that sent us the session. -
session_id- The unique id of the session.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for GroupSessionStore
impl Send for GroupSessionStore
impl Sync for GroupSessionStore
impl Unpin for GroupSessionStore
impl !UnwindSafe for GroupSessionStore
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more