pub trait NameValue {
    fn name(&self) -> &[u8]Notable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8];
    fn value(&self) -> &[u8]Notable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8];
}
Expand description

A trait for types with associated string name and value.

Required Methods

Returns the object’s name.

Returns the object’s value.

Implementors