Module epserde::deser::mem_case

source ·

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. The None variant is used when the data structure is created in memory; the Memory variant is used when the data structure is deserialized from a file loaded into a heap-allocated memory region; the Mmap variant is used when the data structure is deserialized from a mmap()-based region, either coming from an allocation or a from mapping a file.

Type Aliases§