Structs

  • Support struct used for uniquely identifying Participant over the Network.
  • use promises to modify the behavior of Streams. see the consts in this struct for
  • Unique ID per Stream, in one Channel. one side will always start with 0, while the other start with u64::MAX / 2. number increases for each created Stream.

Constants

Functions

Type Aliases

  • guaranteed Bandwidth. See Prio
  • ChannelID, unique ID per Channel (Protocol)
  • MessageID, unique ID per Message.
  • Every Stream has a Prio and guaranteed Bandwidth. Every send, the guarantees part is used first. If there is still bandwidth left, it will be shared by all Streams with the same priority. Prio 0 will be send first, then 1, … till the last prio 7 is send. Prio must be < 8!