Structs§
- Network
- Use the
Network
to create connections to otherParticipants
- Participant
Participants
are generated by theNetwork
and represent a connection to a remote Participant. Look at theconnect
andconnected
method ofNetworks
on how to generateParticipants
- Stream
Streams
represents a channel to sendn
messages with a certain priority andPromises
. messages need always to be send between 2Streams
.- Stream
Params - All Parameters of a Stream, can be used to generate RawMessages
Enums§
- Connect
Addr - Represents a Tcp, Quic, Udp or Mpsc connection address
- Listen
Addr - Represents a Tcp, Quic, Udp or Mpsc listen address
- Network
Connect Error - Error type thrown by
Networks
connect - Network
Error - Error type thrown by
Networks
methods - Participant
Error - Error type thrown by
Participants
methods - Participant
Event - A Participant can throw different events, you are obligated to carefully empty the queue from time to time.
- Stream
Error - 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.