pub struct version;Expand description
jemalloc version string.
§Example
use tikv_jemalloc_ctl::version;
println!("jemalloc version {}", version::read().unwrap());
let version_mib = version::mib().unwrap();
println!("jemalloc version {}", version_mib.read().unwrap());Implementations§
Auto Trait Implementations§
impl Freeze for version
impl RefUnwindSafe for version
impl Send for version
impl Sync for version
impl Unpin for version
impl UnsafeUnpin for version
impl UnwindSafe for version
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