pub trait PersistentDataStoreFactory {
    fn create_persistent_data_store(
        &self
    ) -> Result<Box<dyn PersistentDataStore>, Error>; }
Expand description

PersistentDataStoreFactory is an interface for a factory that creates some implementation of a PersistentDataStore.

This interface is implemented by database integrations. Usage is described in PersistentDataStore.

Required Methods§

This is called by the SDK to create the implementation instance.

Implementors§