redb_extras/
lib.rs

1pub mod dbcopy;
2pub mod error;
3pub mod key_buckets;
4pub mod partition;
5pub mod roaring;
6pub mod table_buckets;
7
8// Re-export common types for convenience
9pub use error::{Error, Result};
10
11/// Trait for merging values when consolidating bucket tables.
12pub trait MergeableValue: Sized {
13    /// Merge an incoming value with an existing value (if any).
14    fn merge(existing: Option<Self>, incoming: Self) -> Self;
15}