Skip to main content

Module tokio_rt

Module tokio_rt 

Source
Expand description

A Tokio-based async adapter driving a SoeMultiplexer over a UDP socket. Enabled by the tokio feature.

The I/O-agnostic SoeMultiplexer is runtime-agnostic; this module is a thin, optional convenience layer for users who want a ready-made async driver. It owns a tokio::net::UdpSocket and interleaves socket reads with periodic ticks (for heartbeats, timeouts, and reliable-data resends), flushing outgoing datagrams after each step.

Structsยง

SoeHandle
A cloneable handle for interacting with a TokioSoeServer from any task.
TokioSoeServer
An actor-style SOE server: a SoeMultiplexer driven on its own Tokio task, reachable from any task via a cloneable SoeHandle.
TokioSoeSocket
An async SOE socket: a SoeMultiplexer driven over a Tokio UDP socket.