Modules§
Macros§
Structs§
- Piece
List - A list of Piece, suitable for issuing vectored writes via io_uring.
- Piece
Str - A piece of data with a stable address that’s also valid utf-8.
- Pipe
Read - Pipe
Write - Roll
- An immutable view into a RollMut
- Roll
Iter - An iterator over Roll
- RollMut
- A “rolling buffer”. Uses either one BufMut or a
Box<[u8]>
for storage. This buffer never grows, but it can be split, and it can be reallocated so it regains its initical capacity, minus the length of the filled part. - RollStr
- A Roll that’s also a valid utf-8 string.
Enums§
- Piece
- A piece of data (arbitrary bytes) with a stable address, suitable for passing to the kernel (io_uring writes).
- Piece
Core
Traits§
Functions§
- get_
ring - Returns the thread-local IoUringAsync instance
- pipe
- Create a new pipe.
- spawn
- Spawns a new asynchronous task, returning a tokio::task::JoinHandle for it.
- start
- Build a new current-thread runtime and runs the provided future on it