Struct jemalloc_ctl::arenas::narenas
source · pub struct narenas;
Expand description
Current limit on the number of arenas.
Examples
use 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 RefUnwindSafe for narenas
impl Send for narenas
impl Sync for narenas
impl Unpin 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