Expand description
The platform-specified driver. Some types differ by compilation target.
Modules§
- The async operations.
Structs§
- AioControl
aio
Meta of AIO operations. - A thread pool to perform blocking operations in other threads.
- An error that may be emitted when all worker threads are busy. It simply returns the dispatchable value with a convenient
fmt::Debug
andfmt::Display
implementation. - A typed wrapper for key of Ops submitted into driver. It doesn’t free the inner on dropping. Instead, the memory is managed by the proactor. The inner is only freed when:
- A notify handle to the inner driver.
- An owned file descriptor.
- Low-level actions of completion-based IO. It owns the operations to keep the driver safe.
- Builder for
Proactor
. - A shared fd. It is passed to the operations to make sure the fd won’t be closed before the operations complete.
- Meta of polling operations.
Enums§
- Result of
OpCode::pre_submit
. - Representing underlying driver type the fusion driver is using
- Represents the filter type of kqueue.
polling
crate doesn’t expose such API, and we need to know about it whencancel
is called. - The return type of
Proactor::push
.
Traits§
- A trait to extract the raw file descriptor from an underlying object.
- A trait for dispatching a closure. It’s implemented for all `FnOnce() + Send
- Abstraction of operations.
- Get a clone of
SharedFd
.
Type Aliases§
- Raw file descriptors.