pub struct MemoryStore { /* private fields */ }
Expand description

An in-memory only store that will forget all the E2EE key once it’s dropped.

Implementations

Create a new empty MemoryStore.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Load an account that was previously stored.
Save the given account in the store. Read more
Try to load a private cross signing identity, if one is stored.
Save the set of changes to the store. Read more
Get all the sessions that belong to the given sender key. Read more
Get the inbound group session from our store. Read more
Get all the inbound group sessions we have stored.
Get the number inbound group sessions we have and how many of them are backed up. Read more
Get all the inbound group sessions we have not backed up yet.
Reset the backup state of all the stored inbound group sessions.
Get the outbound group sessions we have stored that is used for the given room. Read more
Is the given user already tracked.
Are there any tracked users that are marked as dirty.
Set of users that we need to query keys for. This is a subset of the tracked users. Read more
Get all tracked users we know about.
Add an user for tracking. Read more
Get the device for the given user with the given device ID. Read more
Get all the devices of the given user. Read more
Get the user identity that is attached to the given user id. Read more
Check if a hash for an Olm message stored in the database.
Get an outgoing secret request that we created that matches the given request id. Read more
Get an outgoing key request that we created that matches the given requested key info. Read more
Get all outgoing secret requests that we have in the store.
Delete an outgoing key request that we created that matches the given request id. Read more
Get the backup keys we have stored.
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more