Struct tikv_jemalloc_ctl::Name[][src]

#[repr(transparent)]pub struct Name(_);

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.

Trait Implementations

impl Access<&'static [u8]> for Name[src]

impl Access<&'static str> for Name[src]

impl Access<bool> for Name[src]

impl Access<isize> for Name[src]

impl Access<u32> for Name[src]

impl Access<u64> for Name[src]

impl Access<usize> for Name[src]

impl Debug for Name[src]

impl Display for Name[src]

impl PartialEq<Name> for Name[src]

impl StructuralPartialEq for Name[src]

Auto Trait Implementations

impl Send for Name

impl !Sized for Name

impl Sync for Name

impl Unpin for Name

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]