pub fn create_mmap<P: AsRef<Path>>(
path: P,
size: u64,
) -> Result<MemoryMappedFile>
Expand description
Create a new read-write memory-mapped file of the given size. Truncates if the file already exists.
ยงErrors
Returns errors from MemoryMappedFile::create_rw
.