Struct jemalloc_ctl::Version[][src]

pub struct Version(_);

A type providing access to the jemalloc version string.

Note

The version of jemalloc currently shipped with the Rust distribution has a bogus version string.

Example

use jemalloc_ctl::Version;

let version = Version::new().unwrap();

println!("jemalloc version {}", version.get().unwrap());

Methods

impl Version
[src]

Returns a new Version.

Returns the jemalloc version string.

Trait Implementations

impl Copy for Version
[src]

impl Clone for Version
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Version

impl Sync for Version