Struct jemalloc_ctl::opt::Abort
[−]
[src]
pub struct Abort(_);
A type determining if jemalloc will call abort(3)
on most warnings.
This is disabled by default unless --enable-debug
was specified during build configuration.
Examples
use jemalloc_ctl::opt::Abort; let abort = Abort::new().unwrap(); println!("abort on warning: {}", abort.get().unwrap());
Methods
impl Abort
[src]
pub fn new() -> Result<Abort>
[src]
Returns a new Abort
.
pub fn get(&self) -> Result<bool>
[src]
Returns the abort-on-warning behavior.