stun_rs

Module attributes

source
Expand description

STUN Attributes. This module contains all attributes defined for the STUN protocol. Additional flags can be enabled for TURN and ICE.

Modules§

Structs§

  • A STUN attribute type is a hex number in the range 0x0000-0xFFFF. STUN attribute types in the range 0x0000-0x7FFF are considered comprehension-required.
  • Unknown attribute. This attribute is added to a decoded message when there is not a known handler to decode an attribute. To minimize impact on memory, the data associated to any unknown attribute is discarded unless the experimental flag is enabled and the decoder context had been configured to keep the data associated to unknown attributes.

Enums§

Traits§