Module api

Source

Structs§

Network
Use the Network to create connections to other Participants
Participant
Participants are generated by the Network and represent a connection to a remote Participant. Look at the connect and connected method of Networks on how to generate Participants
Stream
Streams represents a channel to send n messages with a certain priority and Promises. messages need always to be send between 2 Streams.
StreamParams
All Parameters of a Stream, can be used to generate RawMessages

Enums§

ConnectAddr
Represents a Tcp, Quic, Udp or Mpsc connection address
ListenAddr
Represents a Tcp, Quic, Udp or Mpsc listen address
NetworkConnectError
Error type thrown by Networks connect
NetworkError
Error type thrown by Networks methods
ParticipantError
Error type thrown by Participants methods
ParticipantEvent
A Participant can throw different events, you are obligated to carefully empty the queue from time to time.
StreamError
Error type thrown by Streams methods A Compression Error should only happen if a client sends malicious code. A Deserialize Error probably means you are expecting Type X while you actually got send type Y.

Functions§

actively_wait 🔒

Type Aliases§

A2sDisconnect 🔒