Expand description
Async tokio adapter for teto-dpdk.
TetoRuntime starts a dedicated thread running the F-Stack poll loop.
Listeners, UDP sockets and outbound connections are created from it; the
F-Stack thread moves bytes between F-Stack sockets and bounded
per-connection buffers and wakes tokio tasks. Tokio tasks never call into
F-Stack directly.
Modules§
- local
- Run async code on the F-Stack thread itself, with no cross-thread hop.
Structs§
- Owned
Read Half - The read half of a
TetoTcpStream, fromTetoTcpStream::into_split. - Owned
Write Half - The write half of a
TetoTcpStream, fromTetoTcpStream::into_split. Dropping it shuts down the write side (FIN) unlessforgetwas called. - Reunite
Error OwnedReadHalf::reunitewas given halves of different streams.- Teto
Runtime - Handle to the F-Stack runtime: a dedicated OS thread running F-Stack’s poll loop, which owns every socket.
- Teto
TcpListener - An async TCP listener backed by F-Stack.
- Teto
TcpStream - An async TCP stream backed by an F-Stack connection.
- Teto
UdpSocket - An async UDP socket backed by F-Stack.