[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

Crate buffet

Source

Modules§

bufpool
net

Macros§

trace

Structs§

PieceList
A list of Piece, suitable for issuing vectored writes via io_uring.
PieceStr
A piece of data with a stable address that’s also valid utf-8.
PipeRead
PipeWrite
Roll
An immutable view into a RollMut
RollIter
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).
PieceCore

Traits§

IntoHalves
ReadOwned
WriteOwned

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