[][src]Trait jemalloc_ctl::Access

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

Safe read access to the MALLCTL NAMESPACE.

Required methods

fn read(&self) -> Result<T>

Read the key at self.

fn write(&self, value: T) -> Result<()>

Write value at the key self.

fn update(&self, value: T) -> Result<T>

Write value at the key self returning its previous value.

Loading content...

Implementors

impl Access<&'static [u8]> for Name[src]

impl Access<&'static str> for Name[src]

impl Access<bool> for Name[src]

impl Access<isize> for Name[src]

impl Access<u32> for Name[src]

impl Access<u64> for Name[src]

impl Access<usize> for Name[src]

impl<T: MibArg> Access<&'static [u8]> for MibStr<T>[src]

impl<T: MibArg> Access<&'static str> for MibStr<T>[src]

impl<T: MibArg> Access<bool> for Mib<T>[src]

impl<T: MibArg> Access<isize> for Mib<T>[src]

impl<T: MibArg> Access<u32> for Mib<T>[src]

impl<T: MibArg> Access<u64> for Mib<T>[src]

impl<T: MibArg> Access<usize> for Mib<T>[src]

Loading content...