Trait MigratableKVStore
pub trait MigratableKVStore: KVStore {
// Required method
fn list_all_keys(&self) -> Result<Vec<(String, String, String)>, Error>;
}
Expand description
Required Methods§
fn list_all_keys(&self) -> Result<Vec<(String, String, String)>, Error>
fn list_all_keys(&self) -> Result<Vec<(String, String, String)>, Error>
Returns all known keys as a list of primary_namespace
, secondary_namespace
, key
tuples.
This is useful for migrating data from KVStore
implementation to KVStore
implementation.
Must exhaustively return all entries known to the store to ensure no data is missed, but may return the items in arbitrary order.