Type Definition concordium_std::HashMap [−][src]
pub type HashMap<K, V, S = BuildHasherDefault<FnvHasher>> = HashMap<K, V, S, Global>;
Expand description
Reexport of the HashMap
from hashbrown
with the default hasher set to
the fnv
hash function.
Trait Implementations
Deserialization for HashMap given a size_len. Keys are not verified to be in any particular order and setting ensure_ordering have no effect.
fn deserial_ctx<R: Read>(
size_len: SizeLength,
_ensure_ordered: bool,
source: &mut R
) -> ParseResult<Self>
fn deserial_ctx<R: Read>(
size_len: SizeLength,
_ensure_ordered: bool,
source: &mut R
) -> ParseResult<Self>
Attempt to read a structure from a given source and context, failing if an error occurs during deserialization or reading. Read more
Serialization for HashMap given a size_len. Keys are not serialized in any particular order.
Attempt to write the structure into the provided writer, failing if
if the length cannot be represented in the provided size_length
or
only part of the structure could be written. Read more