Crate compio_driver
source ·Expand description
The platform-specified driver. Some types differ by compilation target.
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
- A thread pool to perform blocking operations in other threads.
- An completed entry returned from kernel.
- A notify handle to the inner driver.
- Contains the operation and the user_data.
- Low-level actions of completion-based IO. It owns the operations to keep the driver safe.
- Builder for
Proactor
. - Meta of polling operations.
Enums
- Result of
OpCode::pre_submit
. - The interest of the operation
- The return type of
Proactor::push
.
Traits
- A trait to extract the raw file descriptor from an underlying object.
- A trait to express the ability to construct an object from a raw file descriptor.
- A trait to express the ability to consume an object and acquire ownership of its raw file descriptor.
- Abstraction of operations.
Type Aliases
- Raw file descriptors.