Struct raft_engine::GlobalStats[][src]

pub struct GlobalStats { /* fields omitted */ }

Implementations

impl GlobalStats[src]

pub fn sub_mem_change(&self, bytes: usize)[src]

pub fn add_mem_change(&self, bytes: usize)[src]

pub fn add_cache_hit(&self, count: usize)[src]

pub fn add_cache_miss(&self, count: usize)[src]

pub fn cache_hit(&self) -> usize[src]

pub fn cache_miss(&self) -> usize[src]

pub fn cache_size(&self) -> usize[src]

pub fn flush_cache_stats(&self) -> CacheStats[src]

pub fn add_rewrite(&self, count: usize)[src]

pub fn add_compacted_rewrite(&self, count: usize)[src]

pub fn rewrite_operations(&self) -> usize[src]

pub fn compacted_rewrite_operations(&self) -> usize[src]

Trait Implementations

impl Default for GlobalStats[src]

Auto Trait Implementations

impl RefUnwindSafe for GlobalStats

impl Send for GlobalStats

impl Sync for GlobalStats

impl Unpin for GlobalStats

impl UnwindSafe for GlobalStats

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> Pointable for T[src]

type Init = T

The type for initializers.

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.