Trait holochain::prelude::kitsune_p2p::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::lair_store::traits::AsLairStoreFactory
pub trait AsLairStoreFactory: 'static + Send + Sync {
// Required method
fn connect_to_store(
&self,
unlock_secret: BufReadSized<32>
) -> Pin<Box<dyn Future<Output = Result<LairStore, OneErr>> + Send, Global>>;
}
Expand description
Defines a factory that produces lair storage mechanism instances.
Required Methods§
fn connect_to_store(
&self,
unlock_secret: BufReadSized<32>
) -> Pin<Box<dyn Future<Output = Result<LairStore, OneErr>> + Send, Global>>
fn connect_to_store( &self, unlock_secret: BufReadSized<32> ) -> Pin<Box<dyn Future<Output = Result<LairStore, OneErr>> + Send, Global>>
Open a store connection with given config / passphrase.