Structs§
- Flags for [
map
] and [load_mmap
]. - A wrapper keeping together an immutable structure and the memory it was deserialized from.
MemCase
instances can not be cloned, but references to such instances can be shared freely.
Enums§
- Possible backends of a
MemCase
. TheNone
variant is used when the data structure is created in memory; theMemory
variant is used when the data structure is deserialized from a file loaded into a heap-allocated memory region; theMmap
variant is used when the data structure is deserialized from ammap()
-based region, either coming from an allocation or a from mapping a file.