pub type Database<E> = Immutable<E, Key, Value, Hasher, Translator>;
Expand description
Database type alias.
Aliased Type§
pub struct Database<E> { /* private fields */ }
Trait Implementations§
Source§impl<E> Syncable for Database<E>
impl<E> Syncable for Database<E>
Source§fn create_test_operations(count: usize, seed: u64) -> Vec<Self::Operation>
fn create_test_operations(count: usize, seed: u64) -> Vec<Self::Operation>
Create test operations with the given count and seed.
Source§async fn add_operations(
database: &mut Self,
operations: Vec<Self::Operation>,
) -> Result<(), Error>
async fn add_operations( database: &mut Self, operations: Vec<Self::Operation>, ) -> Result<(), Error>
Add operations to the database.
Source§fn lower_bound_ops(&self) -> u64
fn lower_bound_ops(&self) -> u64
Get the lower bound for operations (inactivity floor or oldest retained location).