Trait tikv_jemalloc_ctl::AsName

source ·
pub trait AsName {
    // Required method
    fn name(&self) -> &Name;
}
Expand description

Converts a null-terminated byte-string into a Name.

Required Methods§

source

fn name(&self) -> &Name

Converts a null-terminated byte-string into a Name.

Implementations on Foreign Types§

source§

impl AsName for str

source§

fn name(&self) -> &Name

source§

impl AsName for [u8]

source§

fn name(&self) -> &Name

Implementors§