[][src]Enum rocks::perf_level::PerfLevel

#[repr(u8)]pub enum PerfLevel {
    Uninitialized,
    Disable,
    EnableCount,
    EnableTimeExceptForMutex,
    EnableTime,
}

How much perf stats to collect. Affects perf_context and iostats_context.

Variants

Uninitialized

unknown setting

Disable

disable perf stats

EnableCount

enable only count stats

EnableTimeExceptForMutex

Other than count stats, also enable time stats except for mutexes

EnableTime

enable count and time stats

Trait Implementations

impl Clone for PerfLevel[src]

impl Copy for PerfLevel[src]

impl Debug for PerfLevel[src]

impl Eq for PerfLevel[src]

impl Hash for PerfLevel[src]

impl PartialEq<PerfLevel> for PerfLevel[src]

impl StructuralEq for PerfLevel[src]

impl StructuralPartialEq for PerfLevel[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.