Struct jemalloc_ctl::Name
source · [−]#[repr(transparent)]pub struct Name(_);Expand description
A Name in the MALLCTL NAMESPACE.
Implementations
sourceimpl Name
impl Name
sourcepub fn mib_str<T: MibArg>(&self) -> Result<MibStr<T>>
pub fn mib_str<T: MibArg>(&self) -> Result<MibStr<T>>
Returns the MibStr of self which is a key whose value is a string.
sourcepub fn value_type_str(&self) -> bool
pub fn value_type_str(&self) -> bool
Returns true if self is a key in the MALLCTL NAMESPCE referring to
a null-terminated string.
sourcepub fn as_bytes(&self) -> &'static [u8]
pub fn as_bytes(&self) -> &'static [u8]
Returns the name as null-terminated byte-string.