compio_driver

Module op

Source
Expand description

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§

  • Accept a connection.
  • Spawn a blocking function in the thread pool.
  • Close the file fd.
  • Close socket fd.
  • Connect to a remote address.
  • Connect a named pipe server.
  • Read a file at specified position into specified buffer.
  • Receive data from remote.
  • Receive data and source address.
  • Receive data and source address into vectored buffer.
  • Receive data and source address with ancillary data into vectored buffer.
  • Receive data from remote into vectored buffer.
  • Send data to remote.
  • Send data to specified address accompanied by ancillary data from vectored buffer.
  • Send data to specified address.
  • Send data to specified address from vectored buffer.
  • Send data to remote from vectored buffer.
  • Shutdown a socket.
  • Sync data to the disk.
  • Write a file at specified position from specified buffer.

Traits§