Struct tikv_jemalloc_ctl::arenas::narenas[][src]

pub struct narenas;
Expand description

Current limit on the number of arenas.

Examples

use tikv_jemalloc_ctl::arenas;
println!("number of arenas: {}", arenas::narenas::read().unwrap());

let arenas_mib = arenas::narenas::mib().unwrap();
println!("number of arenas: {}", arenas_mib.read().unwrap());

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.

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.