Struct jemalloc_ctl::config::MallocConf
[−]
[src]
pub struct MallocConf(_);
A type providing access to the embedded configure-time-specified run-time options config.
The string will be empty unless --with-malloc-conf was specified during build configuration.
Examples
use jemalloc_ctl::config::MallocConf; let malloc_conf = MallocConf::new().unwrap(); println!("default malloc conf: {}", malloc_conf.get().unwrap());
Methods
impl MallocConf[src]
fn new() -> Result<MallocConf>[src]
Returns a new MallocConf.
fn get(&self) -> Result<&'static str>[src]
Returns the embedded configure-time-specified run-time options config.
Trait Implementations
impl Copy for MallocConf[src]
impl Clone for MallocConf[src]
fn clone(&self) -> MallocConf[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more