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