matrix_sdk_indexeddb

Function open_stores_with_name

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

Create a IndexeddbStateStore and a IndexeddbCryptoStore that use the same name and passphrase.