Trait tikv_jemalloc_ctl::Access[][src]

pub trait Access<T> {
    fn read(&self) -> Result<T>;
fn write(&self, value: T) -> Result<()>;
fn update(&self, value: T) -> Result<T>; }
Expand description

Safe read access to the MALLCTL NAMESPACE.

Required methods

Read the key at self.

Write value at the key self.

Write value at the key self returning its previous value.

Implementors