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

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.