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.
- Create a directory.
- Create a socket.
- File
Stat Unix Get metadata of an opened file. - Create a hard link.
- Open or create a file with flags and mode.
- Path
Stat Unix Get metadata from path. - Poll a file descriptor for specified
Interest
. - 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 and source address with ancillary data into vectored buffer.
- Receive data from remote into vectored buffer.
- Rename a file or directory.
- 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.
- Create a symlink.
- Sync data to the disk.
- Remove file or directory.
- Write a file at specified position from specified buffer.
- Write a file at specified position from vectored buffer.
Enums§
- The interest to poll a file descriptor.
Traits§
- Trait to update the buffer length inside the
BufResult
.