[][src]Function tikv_jemalloc_ctl::raw::write_str_mib

pub fn write_str_mib(mib: &[usize], value: &'static [u8]) -> Result<()>

Uses the MIB mib as key to the MALLCTL NAMESPACE and writes its value.

The name_to_mib API translates a string of the key (e.g. arenas.nbins) to a mib (Management Information Base).

Panics

If value is not a non-empty null-terminated string.