| 223 | /// Defines what to optimize the table for. |
| 224 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] |
| 225 | pub enum StorageOpt { |
| 226 | /// Random access key-value lookups. |
| 227 | RandomAccess, |
| 228 | |
| 229 | /// Sequential full-table or range reads. |
| 230 | SeqRead, |
| 231 | } |
| 232 | |
| 233 | /// Merge operator function defining how to combine multiple DB values into one. |
| 234 | pub type MergeFn<T> = fn( |
nothing calls this directly
no outgoing calls
no test coverage detected