Struct jemalloc_ctl::Name [−][src]
A Name
in the MALLCTL NAMESPACE.
Implementations
impl Name
[src][−]
pub fn mib<T: MibArg>(&self) -> Result<Mib<T>>
[src][−]
Returns the Mib
of self
.
pub fn mib_str<T: MibArg>(&self) -> Result<MibStr<T>>
[src][−]
Returns the MibStr
of self
which is a key whose value is a string.
pub fn value_type_str(&self) -> bool
[src][−]
Returns true
if self
is a key in the MALLCTL NAMESPCE referring to
a null-terminated string.
pub fn as_bytes(&self) -> &'static [u8]
[src][−]
Returns the name as null-terminated byte-string.