pub trait ListableSubstateDatabase {
// Required method
fn list_partition_keys(
&self
) -> Box<dyn Iterator<Item = DbPartitionKey> + '_>;
}
Expand description
A partition listing interface between Track and a database vendor.
Required Methods§
sourcefn list_partition_keys(&self) -> Box<dyn Iterator<Item = DbPartitionKey> + '_>
fn list_partition_keys(&self) -> Box<dyn Iterator<Item = DbPartitionKey> + '_>
Iterates over all partition keys, in an arbitrary order.