Module compio::driver

source ·
Expand description

The platform-specified driver. Some types differ by compilation target.

Structs

  • Low-level driver of IOCP.
  • An completed entry returned from kernel.
  • Required features: "Win32_Networking_WinSock"

Traits

  • Extracts raw fds.
  • Contruct IO objects from raw fds.
  • Consumes an object and acquire ownership of its raw fd.
  • Abstraction of IOCP operations.
  • An abstract of Driver. It contains some low-level actions of completion-based IO.

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;