Expand description
The platform-specified driver. Some types differ by compilation target.
Modules§
- op
- The async operations.
Structs§
- AsyncifyPool 
- A thread pool to perform blocking operations in other threads.
- DispatchError 
- An error that may be emitted when all worker threads are busy. It simply
returns the dispatchable value with a convenient fmt::Debugandfmt::Displayimplementation.
- Key
- 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:
- NotifyHandle 
- A notify handle to the inner driver.
- OwnedFd
- An owned file descriptor.
- Proactor
- Low-level actions of completion-based IO. It owns the operations to keep the driver safe.
- ProactorBuilder 
- Builder for Proactor.
- SharedFd 
- A shared fd. It is passed to the operations to make sure the fd won’t be closed before the operations complete.
- WaitArg
- Meta of polling operations.
Enums§
- Decision
- Result of OpCode::pre_submit.
- DriverType 
- Representing underlying driver type the fusion driver is using
- OpType
- Represents the filter type of kqueue. pollingcrate doesn’t expose such API, and we need to know about it whencancelis called.
- PushEntry 
- The return type of Proactor::push.
Traits§
- AsRawFd
- A trait to extract the raw file descriptor from an underlying object.
- Dispatchable
- A trait for dispatching a closure. It’s implemented for all `FnOnce() + Send
- OpCode
- Abstraction of operations.
- ToSharedFd 
- Get a clone of SharedFd.
Type Aliases§
- RawFd
- Raw file descriptors.