matrix_sdk_indexeddb

Function open_state_store

Source
pub async fn open_state_store(
    name: &str,
    passphrase: Option<&str>,
) -> Result<IndexeddbStateStore, OpenStoreError>
Expand description

Create an IndexeddbStateStore.

If a passphrase is given, the store will be encrypted using a key derived from that passphrase.