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
- Accept a connection.
- Asyncify
- Spawn a blocking function in the thread pool.
- Close
File - Close the file fd.
- Close
Socket - Close socket fd.
- Connect
- Connect to a remote address.
- Create
Dir Unix - Create a directory.
- Create
Socket Unix - Create a socket.
- File
Stat Unix - Get metadata of an opened file.
- Hard
Link Unix - Create a hard link.
- Open
File Unix - Open or create a file with flags and mode.
- Path
Stat Unix - Get metadata from path.
- Poll
Once Unix - Poll a file descriptor for specified
Interest. - ReadAt
- Read a file at specified position into specified buffer.
- Read
Managed At Non- io_uring - Read a file at specified position into managed buffer.
- Read
Vectored At Unix - Read a file at specified position into vectored buffer.
- Recv
- Receive data from remote.
- Recv
From - Receive data and source address.
- Recv
From Vectored - Receive data and source address into vectored buffer.
- Recv
Managed Non- io_uring - Receive data from remote into managed buffer.
- RecvMsg
- Receive data and source address with ancillary data into vectored buffer.
- Recv
Vectored - Receive data from remote into vectored buffer.
- Rename
Unix - Rename a file or directory.
- Send
- Send data to remote.
- SendMsg
- Send data to specified address accompanied by ancillary data from vectored buffer.
- SendTo
- Send data to specified address.
- Send
ToVectored - Send data to specified address from vectored buffer.
- Send
Vectored - Send data to remote from vectored buffer.
- Shutdown
Socket - Shutdown a socket.
- Symlink
Unix - Create a symlink.
- Sync
- Sync data to the disk.
- Unlink
Unix - Remove file or directory.
- WriteAt
- Write a file at specified position from specified buffer.
- Write
Vectored At Unix - Write a file at specified position from vectored buffer.
Enums§
- Interest
Unix - The interest to poll a file descriptor.
Traits§
- BufResult
Ext - Trait to update the buffer length inside the
BufResult. - Recv
Result Ext - Helper trait for
RecvFrom,RecvFromVectoredandRecvMsg. - Result
Take Buffer - Helper trait for
ReadManagedAtandRecvManaged.