Expand description
Driver module for async I/O operations 异步I/O操作的Driver模块
This module provides the driver abstraction layer for different I/O polling mechanisms:
- io-uring (Linux 5.1+)
- epoll (Linux)
- kqueue (macOS/BSD)
本模块提供不同I/O轮询机制的driver抽象层:
- io-uring (Linux 5.1+)
- epoll (Linux)
- kqueue (macOS/BSD)
Re-exports§
pub use config::DriverConfig;pub use config::DriverConfigBuilder;pub use config::DriverFactory;pub use config::DriverType;pub use interest::Interest;pub use queue::CompletionEntry;pub use queue::IoState;pub use queue::SubmitEntry;
Modules§
- config
- Driver configuration and factory Driver配置和工厂
- epoll
Linux - Epoll driver implementation for Linux Linux的epoll驱动实现
- interest
- Interest types for file descriptor registration 文件描述符注册的兴趣类型
- iouring
Linux - io_uring driver implementation for Linux 5.1+ Linux 5.1+的io_uring驱动实现
- opcode
- Operation opcodes 操作操作码
- queue
- Queue entries for I/O operations I/O操作的队列条目
Constants§
- ERROR_
TRANSPORT - Error code for transport errors 传输错误的错误码
Traits§
- Driver
- Core driver trait for async I/O operations 异步I/O操作的核心driver trait
Type Aliases§
- RawFd
- Raw file descriptor type 原始文件描述符类型