pub struct max_background_threads;
Expand description
Maximum number of background threads that will be created.
use tikv_jemalloc_ctl::max_background_threads;
let m = max_background_threads::mib().unwrap();
println!("max_background_threads: {}", m.read().unwrap());
m.write(0).unwrap();
assert_eq!(m.read().unwrap(), 0);
Returns Management Information Base (MIB)
This value can be used to access the key without doing string lookup.
Reads value using string API.
Writes value
using string API.
Updates key to value
returning its old value using string API.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.