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.
  • A typed wrapper for key of Ops submitted into driver
  • A notify handle to the inner driver.
  • The overlapped struct we actually used for IOCP.
  • Low-level actions of completion-based IO. It owns the operations to keep the driver safe.
  • Builder for Proactor.

Enums§

Traits§

  • Extracts raw fds.
  • Construct IO objects from raw fds.
  • Consumes an object and acquire ownership of its raw fd.
  • Abstraction of IOCP operations.

Type Aliases§

  • On windows, handle and socket are in the same size. Both of them could be attached to an IOCP. Therefore, both could be seen as fd.