Struct jemalloc_ctl::opt::Dss [] [src]

pub struct Dss(_);

A type providing access to 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::Dss;

let dss = Dss::new().unwrap();

println!("dss priority: {}", dss.get().unwrap());

Methods

impl Dss
[src]

[src]

Returns a new Dss.

[src]

Returns the dss allocation precedence.

Trait Implementations

impl Copy for Dss
[src]

impl Clone for Dss
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more