pub enum RocksDbStatisticsLevel {
DisableAll,
ExceptHistogramOrTimers,
ExceptTimers,
ExceptDetailedTimers,
ExceptTimeForMutex,
All,
}Expand description
The level of detail collected by RocksDB’s internal statistics.
This mirrors rocksdb::statistics::StatsLevel. The levels are nested: each one
collects a superset of the data collected by the previous one, at increasing cost.
Variants§
DisableAll
Collect nothing.
ExceptHistogramOrTimers
Collect tickers (counters) only; skip all histograms and timers.
ExceptTimers
Collect tickers and histograms, but skip timer statistics.
ExceptDetailedTimers
Collect everything except time spent inside the mutex lock and on compression.
ExceptTimeForMutex
Collect everything except the counters that require taking time inside the mutex lock.
All
Collect everything, including the duration of mutex operations.
Trait Implementations§
Source§impl Clone for RocksDbStatisticsLevel
impl Clone for RocksDbStatisticsLevel
Source§fn clone(&self) -> RocksDbStatisticsLevel
fn clone(&self) -> RocksDbStatisticsLevel
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 RocksDbStatisticsLevel
Source§impl Debug for RocksDbStatisticsLevel
impl Debug for RocksDbStatisticsLevel
Source§impl Default for RocksDbStatisticsLevel
impl Default for RocksDbStatisticsLevel
Source§fn default() -> RocksDbStatisticsLevel
fn default() -> RocksDbStatisticsLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RocksDbStatisticsLevel
impl<'de> Deserialize<'de> for RocksDbStatisticsLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RocksDbStatisticsLevel
Source§impl FromStr for RocksDbStatisticsLevel
impl FromStr for RocksDbStatisticsLevel
Source§impl PartialEq for RocksDbStatisticsLevel
impl PartialEq for RocksDbStatisticsLevel
Source§impl Serialize for RocksDbStatisticsLevel
impl Serialize for RocksDbStatisticsLevel
impl StructuralPartialEq for RocksDbStatisticsLevel
Auto Trait Implementations§
impl Freeze for RocksDbStatisticsLevel
impl RefUnwindSafe for RocksDbStatisticsLevel
impl Send for RocksDbStatisticsLevel
impl Sync for RocksDbStatisticsLevel
impl Unpin for RocksDbStatisticsLevel
impl UnsafeUnpin for RocksDbStatisticsLevel
impl UnwindSafe for RocksDbStatisticsLevel
Blanket Implementations§
impl<_INNER> AutoTraits for _INNER
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> MaybeSend for Twhere
T: Send,
impl<T> MaybeSync for Twhere
T: Sync,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<M, I> RuntimeMemory<&mut I> for Mwhere
M: RuntimeMemory<I>,
impl<M, I> RuntimeMemory<&mut I> for Mwhere
M: RuntimeMemory<I>,
Source§fn read<'instance>(
&self,
instance: &'instance &mut I,
location: GuestPointer,
length: u32,
) -> Result<Cow<'instance, [u8]>, RuntimeError>
fn read<'instance>( &self, instance: &'instance &mut I, location: GuestPointer, length: u32, ) -> Result<Cow<'instance, [u8]>, RuntimeError>
Reads length bytes from memory from the provided location.
Source§fn write(
&mut self,
instance: &mut &mut I,
location: GuestPointer,
bytes: &[u8],
) -> Result<(), RuntimeError>
fn write( &mut self, instance: &mut &mut I, location: GuestPointer, bytes: &[u8], ) -> Result<(), RuntimeError>
Writes the bytes to memory at the provided location.