pub trait NameValue { // Required methods fn name(&self) -> &[u8] ⓘ; fn value(&self) -> &[u8] ⓘ; }
A trait for types with associated string name and value.
Returns the object’s name.
Returns the object’s value.