Function matrix_sdk_indexeddb::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.