create_mmap_async

Function create_mmap_async 

Source
pub async fn create_mmap_async<P: AsRef<Path>>(
    path: P,
    size: u64,
) -> Result<MemoryMappedFile>
Expand description

Create a new file with the specified size asynchronously, then map it RW.

ยงErrors

Returns errors from async file operations or mapping.