pub struct IndexeddbCryptoStore { /* private fields */ }
Expand description
An implementation of CryptoStore that uses IndexedDB for persistent storage.
Implementations§
source§impl IndexeddbCryptoStore
impl IndexeddbCryptoStore
sourcepub async fn open() -> Result<Self, IndexeddbCryptoStoreError>
pub async fn open() -> Result<Self, IndexeddbCryptoStoreError>
Open a new IndexeddbCryptoStore
with default name and no passphrase
sourcepub async fn open_with_passphrase(
prefix: &str,
passphrase: &str
) -> Result<Self, IndexeddbCryptoStoreError>
pub async fn open_with_passphrase( prefix: &str, passphrase: &str ) -> Result<Self, IndexeddbCryptoStoreError>
Open a new IndexeddbCryptoStore
with given name and passphrase
sourcepub async fn open_with_name(
name: &str
) -> Result<Self, IndexeddbCryptoStoreError>
pub async fn open_with_name( name: &str ) -> Result<Self, IndexeddbCryptoStoreError>
Open a new IndexeddbCryptoStore
with given name and no passphrase
Trait Implementations§
source§impl Debug for IndexeddbCryptoStore
impl Debug for IndexeddbCryptoStore
Auto Trait Implementations§
impl !RefUnwindSafe for IndexeddbCryptoStore
impl !Send for IndexeddbCryptoStore
impl !Sync for IndexeddbCryptoStore
impl Unpin for IndexeddbCryptoStore
impl !UnwindSafe for IndexeddbCryptoStore
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more