Expand description
The platform abstraction seam: the engine is written against Host; a
concrete implementation (std, Android/Kotlin, iOS/Swift, embedded) only
provides ~15 primitives. Transports are non-blocking (Host::tcp_recv
returns Error::WouldBlock, tcp_send may take a partial prefix), so
one engine drives hundreds of peers from a single thread.
Enums§
Traits§
- Host
- The platform seam. Implementations must be cheap and must not block longer than necessary.