Expand description
Safe wrapper over Linux AIO
.
Structs§
- IoContext
- Newtype for
aio_context_t
. - IoControl
Block - Wrapper over the
iocb
structure. - IoEvent
- Wrapper over the
io_event
structure.
Constants§
- IOCB_
CMD_ FDSYNC - Synchronize a file’s in-core data to storage device.
- IOCB_
CMD_ FSYNC - Synchronize a file’s in-core metadata and data to storage device.
- IOCB_
CMD_ NOOP - Noop, this defined by never used by linux kernel.
- IOCB_
CMD_ PREAD - Read from a file descriptor at a given offset.
- IOCB_
CMD_ PREADV - Read from a file descriptor at a given offset into multiple buffers.
- IOCB_
CMD_ PWRITE - Write to a file descriptor at a given offset.
- IOCB_
CMD_ PWRITEV - Write to a file descriptor at a given offset from multiple buffers.
- IOCB_
FLAG_ RESFD - Valid flags for the “aio_flags” member of the “struct iocb”. Set if the “aio_resfd” member of the “struct iocb” is valid.
- MAX_
REQUESTS - Maximum number of concurrent requests.