Structs§
- Network
- Use the
Networkto create connections to otherParticipants - Participant
Participantsare generated by theNetworkand represent a connection to a remote Participant. Look at theconnectandconnectedmethod ofNetworkson how to generateParticipants- Stream
Streamsrepresents a channel to sendnmessages 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
Networksconnect - Network
Error - Error type thrown by
Networksmethods - Participant
Error - Error type thrown by
Participantsmethods - 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
Streamsmethods 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.