Crate aeronet_channel
source ·Expand description
aeronet_channel
An in-memory channel transport implementation of aeronet, using
crossbeam-channel
for the MPSC implementation.
This transport can be used in any environment, native app or WASM, however cannot communicate with other computers remotely over a network. This transport is useful when developing a local singleplayer server for a potentially multiplayer game, as it allows you to write the same logic without caring about if the server you’re connected to is remote or local.
Structs
- Implementation of
TransportClient
using in-memory MPSC channels. - Implementation of
TransportServer
using in-memory MPSC channels. - Key type used to uniquely identify a client connected to a
ChannelServer
.
Enums
- Error that occurs when processing a
ChannelClient
orChannelServer
.