Struct tikv_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 tikv_jemalloc_ctl::opt;
let dss = opt::dss::read().unwrap();
println!("dss priority: {}", dss);
Implementations§
Auto Trait Implementations§
impl Freeze for dss
impl RefUnwindSafe for dss
impl Send for dss
impl Sync for dss
impl Unpin for dss
impl UnwindSafe for dss
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