Struct jemalloc_ctl::opt::dss
source · [−]pub struct dss;Expand description
The dss (sbrk(2)) allocation precedence as related to mmap(2)
allocation.
The following settings are supported if sbrk(2) is supported by the
operating system: “disabled”, “primary”, and “secondary”; otherwise only
“disabled” is supported. The default is “secondary” if sbrk(2) is
supported by the operating system; “disabled” otherwise.
Examples
use jemalloc_ctl::opt;
let dss = opt::dss::read().unwrap();
println!("dss priority: {}", dss);Implementations
Auto Trait Implementations
impl RefUnwindSafe for dss
impl Send for dss
impl Sync for dss
impl Unpin for dss
impl UnwindSafe for dss
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more