Module compio_driver::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.
- Close the file fd.
- Close socket fd.
- Connect to a remote address.
- Open or create a file with flags and mode.
- Read a file at specified position into specified buffer.
- Read a file at specified position into vectored buffer.
- Receive data from remote.
- Receive data and source address.
- Receive data and source address into vectored buffer.
- Receive data from remote into vectored buffer.
- Send data to remote.
- 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.
- Write a file at specified position from vectored buffer.
Traits
- Trait to update the buffer length inside the
BufResult
. - Helper trait for
RecvFrom
andRecvFromVectored
.