Expand description
Memory-mapped IO helpers. Memory-mapped file helpers.
These utilities are used to read/write rkyv-serialized payloads efficiently and share
them across cache layers without copying.
Re-exports§
pub use config::MmapConfig;pub use config::MmapMode;pub use error::MmapError;pub use error::MmapResult;
Modules§
Structs§
- Aligned
Mmap Builder - Helper to write bytes to a file then open an aligned mmap.
- Mmap
File - A file-backed memory map (read-only, read-write, or copy-on-write).
- Mmap
File Handle - Shared read-only mmap handle (cheap to clone).
Constants§
- RKYV_
ALIGNMENT - Required alignment (bytes) for validated
rkyvaccess.