Struct aries_askar::backend::sqlite::SqliteStoreOptions
source ·
[−]pub struct SqliteStoreOptions { /* fields omitted */ }
This is supported on crate feature
sqlite
only.Expand description
Configuration options for Sqlite stores
Implementations
Initialize SqliteStoreOptions
from a generic set of options
Provision a new Sqlite store from these configuration options
Open an existing Sqlite store from this set of configuration options
Remove the Sqlite store defined by these configuration options
Trait Implementations
type Store = Store<SqliteStore>
type Store = Store<SqliteStore>
The type of store being managed
fn open_backend(
self,
method: Option<StoreKeyMethod>,
pass_key: PassKey<'a>,
profile: Option<&'a str>
) -> BoxFuture<'a, Result<Store<SqliteStore>, Error>>
fn open_backend(
self,
method: Option<StoreKeyMethod>,
pass_key: PassKey<'a>,
profile: Option<&'a str>
) -> BoxFuture<'a, Result<Store<SqliteStore>, Error>>
Open an existing store
fn provision_backend(
self,
method: StoreKeyMethod,
pass_key: PassKey<'a>,
profile: Option<&'a str>,
recreate: bool
) -> BoxFuture<'a, Result<Store<SqliteStore>, Error>>
fn provision_backend(
self,
method: StoreKeyMethod,
pass_key: PassKey<'a>,
profile: Option<&'a str>,
recreate: bool
) -> BoxFuture<'a, Result<Store<SqliteStore>, Error>>
Provision a new store
Remove an existing store