pub trait OptionMap{
type OptValue: Array<Item = u8> + AppendCopy<u8>;
type OptValues: Array<Item = OptValue<Self::OptValue>>;
// Provided methods
fn opts(self) -> OptIter<Self, Self::IntoIter> ⓘ { ... }
fn opt_refs(
&self,
) -> OptRefIter<'_, Self, Iter<'_, OptNumber, Self::OptValues>> ⓘ { ... }
}Expand description
Generalization of HashMap<OptNumber, OptValue<Vec<u8>>>
Required Associated Types§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl OptionMap for BTreeMap<OptNumber, Vec<OptValue<Vec<u8>>>>
Available on crate feature alloc only.
impl OptionMap for BTreeMap<OptNumber, Vec<OptValue<Vec<u8>>>>
Available on crate feature
alloc only.