pub trait AsLairStoreFactory: 'static + Send + Sync {
    fn connect_to_store(
        &self,
        unlock_secret: BufReadSized<32>
    ) -> Pin<Box<dyn Future<Output = Result<LairStore, OneErr>> + Send + 'static, Global>>; }
Expand description

Defines a factory that produces lair storage mechanism instances.

Required Methods

Open a store connection with given config / passphrase.

Implementors