Type Alias MsgIndex
Source pub type MsgIndex<V> = DictMap<MsgId, V>;
Expand description
Specialization keyed on MsgId for the in-flight message index.
§Examples
use dynomite::util::dict::MsgIndex;
let mut idx: MsgIndex<&'static str> = MsgIndex::new();
idx.insert(42, "hello");
assert_eq!(idx.get(&42), Some(&"hello"));
pub struct MsgIndex<V> { }