Structs§
- Borrowed
Map - A wrapper around an
memmap2::MmapMut
to prevent one from accidentally callingShm::map
twice on the same Shm (which could very easily introduce memory unsoundness). To use the contained map, just callBorrowedMap::map
. One cannot safely move the map out of this struct, as that would easily allow them to break the lifetime-dependent relationship between this map and theShm
it’s mapped onto. - Shm
- Unlink
OnDrop