Struct tikv_jemalloc_ctl::max_background_threads[][src]

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);

Implementations

Returns Management Information Base (MIB)

This value can be used to access the key without doing string lookup.

Key [::keys::Name].

Reads value using string API.

Writes value using string API.

Updates key to value returning its old value using string API.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.