#[repr(i32)]pub enum PerfStatsLevel {
Uninitialized = 0,
Disable = 1,
EnableCount = 2,
EnableWait = 3,
EnableTimeExceptForMutex = 4,
EnableTimeAndCPUTimeExceptForMutex = 5,
EnableTime = 6,
OutOfBound = 7,
}Variants§
Uninitialized = 0
Unknown settings
Disable = 1
Disable perf stats
EnableCount = 2
Enables only count stats
EnableWait = 3
Enables count stats and time spent waiting for RocksDB work
EnableTimeExceptForMutex = 4
Count stats and enable time stats except for mutexes
EnableTimeAndCPUTimeExceptForMutex = 5
Other than time, also measure CPU time counters. Still don’t measure time (neither wall time nor CPU time) for mutexes
EnableTime = 6
Enables count and time stats
OutOfBound = 7
N.B must always be the last value!
Trait Implementations§
Source§impl Clone for PerfStatsLevel
impl Clone for PerfStatsLevel
Source§fn clone(&self) -> PerfStatsLevel
fn clone(&self) -> PerfStatsLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PerfStatsLevel
Source§impl Debug for PerfStatsLevel
impl Debug for PerfStatsLevel
impl Eq for PerfStatsLevel
Source§impl PartialEq for PerfStatsLevel
impl PartialEq for PerfStatsLevel
impl StructuralPartialEq for PerfStatsLevel
Auto Trait Implementations§
impl Freeze for PerfStatsLevel
impl RefUnwindSafe for PerfStatsLevel
impl Send for PerfStatsLevel
impl Sync for PerfStatsLevel
impl Unpin for PerfStatsLevel
impl UnsafeUnpin for PerfStatsLevel
impl UnwindSafe for PerfStatsLevel
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