Struct tikv_jemalloc_ctl::opt::abort
source · pub struct abort;
Expand description
Whether jemalloc
calls abort(3)
on most warnings.
This is disabled by default unless --enable-debug
was specified during
build configuration.
§Examples
use tikv_jemalloc_ctl::opt;
let abort = opt::abort::mib().unwrap();
println!("abort on warning: {}", abort.read().unwrap());
Implementations§
Auto Trait Implementations§
impl Freeze for abort
impl RefUnwindSafe for abort
impl Send for abort
impl Sync for abort
impl Unpin for abort
impl UnwindSafe for abort
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