fmmap 0.3.2

A flexible and convenient high-level mmap for zero-copy file I/O.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::error::Error;
use crate::raw::tokio::{AsyncDiskMmapFile, AsyncDiskMmapFileMut};
use crate::tokio::{AsyncMmapFile, AsyncMmapFileMut};
use memmapix::MmapOptions;
use std::path::Path;
use tokio::fs::OpenOptions;

declare_and_impl_async_options!("tokio_async", "tokio_test", "tokio");

impl_async_options_tests!("tokio_async", tokio::test, tokio);

#[cfg(unix)]
impl_options_unix_ext!(AsyncOptions);

#[cfg(windows)]
impl_options_windows_ext!(AsyncOptions);