#[repr(transparent)]
pub struct Name(_);
A Name
in the MALLCTL NAMESPACE.
Returns the MibStr
of self
which is a key whose value is a string.
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.
Write value
at the key self
.
Write value
at the key self
returning its previous value.
Write value
at the key self
.
Write value
at the key self
returning its previous value.
Write value
at the key self
.
fn update(&self, value: isize) -> Result<isize>
[src]
Write value
at the key self
returning its previous value.
Write value
at the key self
.
fn update(&self, value: usize) -> Result<usize>
[src]
Write value
at the key self
returning its previous value.
Write value
at the key self
.
Write value
at the key self
returning its previous value.
fn write(&self, value: &'static [u8]) -> Result<()>
[src]
Write value
at the key self
.
fn update(&self, value: &'static [u8]) -> Result<&'static [u8]>
[src]
Write value
at the key self
returning its previous value.
fn write(&self, value: &'static str) -> Result<()>
[src]
Write value
at the key self
.
fn update(&self, value: &'static str) -> Result<&'static str>
[src]
Write value
at the key self
returning its previous value.
fn eq(&self, other: &Name) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Name) -> bool
[src]
This method tests for !=
.
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more