Crate turn_types

Crate turn_types 

Source
Expand description

§turn-types

turn-types provides an implementation for two main things related to TURN clients and servers:

  1. TURN specific STUN attributes using the stun-types crate.
  2. Parsing to and from the actual data sent and received on the wire between a TURN client and a TURN server.

This crate implements the STUN attributes and methods presented in the following standards:

  • RFC5766: Traversal Using Relays around NAT (TURN).
  • RFC6062: Traversal Using Relays around NAT (TURN) Extensions for TCP Allocations
  • RFC6156: Traversal Using Relays around NAT (TURN) Extension for IPv6
  • RFC8656: Traversal Using Relays around NAT (TURN): Relay Extensions to Session Traversal Utilities for NAT (STUN)

Re-exports§

pub use stun_types as stun;

Modules§

attribute
STUN Attributes for TURN.
channel
TURN ChannelData messages.
message
Module for TURN message types in addition to those specified by STUN.
prelude
Public prelude.
tcp
Handle TURN over TCP.
transmit
Transmit structures and helpers.

Structs§

TurnCredentials
Credentials used for a TURN user.

Enums§

AddressFamily
The address family of a socket

Functions§

debug_init
Initialize some debugging functionality of the library.