Function matrix_sdk_indexeddb::make_store_config
source · pub async fn make_store_config(
name: &str,
passphrase: Option<&str>
) -> Result<StoreConfig, OpenStoreError>
Expand description
Create a StoreConfig
with an opened indexeddb IndexeddbStateStore
that uses the given name and passphrase. If encryption
is enabled, a
IndexeddbCryptoStore
with the same parameters is also opened.