Struct jemalloc_ctl::version
source · [−]pub struct version;
Expand description
jemalloc
version string.
Example
use jemalloc_ctl::version;
println!("jemalloc version {}", version::read().unwrap());
let version_mib = version::mib().unwrap();
println!("jemalloc version {}", version_mib.read().unwrap());
Implementations
sourceimpl version
impl version
sourcepub fn mib() -> Result<version_mib>
pub fn mib() -> Result<version_mib>
Returns Management Information Base (MIB)
This value can be used to access the key without doing string lookup.
sourcepub fn name() -> &'static Name
pub fn name() -> &'static Name
Key crate::keys::Name
.
Auto Trait Implementations
impl RefUnwindSafe for version
impl Send for version
impl Sync for version
impl Unpin for version
impl UnwindSafe for version
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more