Enum db::DatabaseCompactionProfile
source · pub enum DatabaseCompactionProfile {
Auto,
SSD,
HDD,
}
Expand description
db compaction profile
Variants§
Auto
Try to determine compaction profile automatically
SSD
SSD compaction profile
HDD
HDD or other slow storage io compaction profile
Trait Implementations§
source§impl Clone for DatabaseCompactionProfile
impl Clone for DatabaseCompactionProfile
source§fn clone(&self) -> DatabaseCompactionProfile
fn clone(&self) -> DatabaseCompactionProfile
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DatabaseCompactionProfile
impl Debug for DatabaseCompactionProfile
source§impl Default for DatabaseCompactionProfile
impl Default for DatabaseCompactionProfile
source§impl FromStr for DatabaseCompactionProfile
impl FromStr for DatabaseCompactionProfile
source§impl PartialEq for DatabaseCompactionProfile
impl PartialEq for DatabaseCompactionProfile
source§fn eq(&self, other: &DatabaseCompactionProfile) -> bool
fn eq(&self, other: &DatabaseCompactionProfile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DatabaseCompactionProfile
Auto Trait Implementations§
impl RefUnwindSafe for DatabaseCompactionProfile
impl Send for DatabaseCompactionProfile
impl Sync for DatabaseCompactionProfile
impl Unpin for DatabaseCompactionProfile
impl UnwindSafe for DatabaseCompactionProfile
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