Crate compio_driver
source ·Expand description
The platform-specified driver. Some types differ by compilation target.
Re-exports
pub use std::os::fd::AsRawFd;pub use std::os::fd::FromRawFd;pub use std::os::fd::IntoRawFd;pub use std::os::fd::RawFd;
Modules
- The async operations. Types in this mod represents the low-level operations passed to kernel. The operation itself doesn’t perform anything. You need to pass them to
crate::Proactor, and poll the driver.
Structs
- An completed entry returned from kernel.
- Contains the operation and the user_data.
- Low-level actions of completion-based IO. It owns the operations to keep the driver safe.
- Meta of polling operations.
Enums
- Result of
OpCode::pre_submit. - The interest of the operation
- The return type of
Proactor::push.
Traits
- Abstraction of operations.