[][src]Enum rocksdb::perf::PerfStatsLevel

#[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

impl Clone for PerfStatsLevel[src]

impl Copy for PerfStatsLevel[src]

impl Debug for PerfStatsLevel[src]

impl PartialEq<PerfStatsLevel> for PerfStatsLevel[src]

impl StructuralPartialEq for PerfStatsLevel[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.