Expand description
§turn-types
turn-types provides an implementation for two main things related to TURN clients and servers:
- TURN specific STUN attributes using the stun-types crate.
- 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
ChannelDatamessages. - 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§
- Turn
Credentials - Credentials used for a TURN user.
Enums§
- Address
Family - The address family of a socket
Functions§
- debug_
init - Initialize some debugging functionality of the library.