Module raii_map::map[][src]

Map and related items.

Structs

Map

A map in which the presence of an entry is tied to the lifetime of a RAII handle returned by the insertion.

MapHandle

A RAII handle to data in a Map.

Functions

insert

Inserts a key-value pair into a map, returning a handle to the data if successful. A result of None indicates that either the map could not be accessed or the key already exists.