pub enum Mode {
LowSpace,
HighThroughput,
}
Expand description
The high-level database mode, according to the trade-offs of the RUM conjecture.
Variants§
LowSpace
In this mode, the database will make decisions that favor using less space instead of supporting the highest possible write throughput. This mode will also rewrite data more frequently as it strives to reduce fragmentation.
HighThroughput
In this mode, the database will try to maximize write throughput while potentially using more disk space.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more