Enum rocksdb::perf::PerfStatsLevel
source · [−]#[repr(i32)]
pub enum PerfStatsLevel {
Uninitialized,
Disable,
EnableCount,
EnableTimeExceptForMutex,
EnableTimeAndCPUTimeExceptForMutex,
EnableTime,
OutOfBound,
}
Variants
Uninitialized
Unknown settings
Disable
Disable perf stats
EnableCount
Enables only count stats
EnableTimeExceptForMutex
Count stats and enable time stats except for mutexes
EnableTimeAndCPUTimeExceptForMutex
Other than time, also measure CPU time counters. Still don’t measure time (neither wall time nor CPU time) for mutexes
EnableTime
Enables count and time stats
OutOfBound
N.B must always be the last value!
Trait Implementations
sourceimpl Clone for PerfStatsLevel
impl Clone for PerfStatsLevel
sourcefn clone(&self) -> PerfStatsLevel
fn clone(&self) -> PerfStatsLevel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PerfStatsLevel
impl Debug for PerfStatsLevel
sourceimpl PartialEq<PerfStatsLevel> for PerfStatsLevel
impl PartialEq<PerfStatsLevel> for PerfStatsLevel
impl Copy for PerfStatsLevel
impl StructuralPartialEq for PerfStatsLevel
Auto Trait Implementations
impl RefUnwindSafe for PerfStatsLevel
impl Send for PerfStatsLevel
impl Sync for PerfStatsLevel
impl Unpin for PerfStatsLevel
impl UnwindSafe for PerfStatsLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more