Function kalloc::wrapper::map_insert [−][src]
pub fn map_insert<K: Eq + Hash, V>(
m: &mut HashMap<K, V>,
k: K,
v: V
) -> Result<Option<V>, AllocError>
Expand description
OOM Wrapper to insert key-valud pair to a hash map.