Crate network_collections[−][src]
network-collections
Collections suitable for use with networking, particularly when a fixed memory usage is required to prevent out-of-memory crashes. Includes two kinds of least recently used caches, a bounded hash map, a magic ring buffer (virtual ring buffer) and an arena allocator.
Modules
arena_allocation |
An efficient arena allocator. |
least_recently_used_cache |
Least Recently Used caches. |
Structs
ArrayVec |
A vector with a fixed capacity. |
BoundedHashMap |
A bounded hash map, very similar to a regular Rust HashMap but can not become larger than its maximum capacity (plus one); ideal for indexes of network connections, etc in resource constraint aware environments. |
Traits
NonNullUnifiedArrayVecAndVec |
A trait to unify ArrayVec and Vec when dealing with NonNull pointers. |
UnifiedArrayVecAndVec |
A trait to unify ArrayVec and Vec. |