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§
Auto Trait Implementations§
impl Freeze for narenas
impl RefUnwindSafe for narenas
impl Send for narenas
impl Sync for narenas
impl Unpin for narenas
impl UnsafeUnpin for narenas
impl UnwindSafe for narenas
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more