Skip to main content

Crate turn_client_rustls

Crate turn_client_rustls 

Source
Expand description

#turn-client-rustls

TLS TURN client using Rustls.

An implementation of a TURN client suitable for TLS over TCP connections connections.

§Crypto providers

turn-client-rustls does not enable any cryptographic providers on rustls. It is the user’s responsibility (library or application) to enable and use the relevant cryptographic provider (ring, aws-lc-rs, RustCrypto, etc), that they wish to use.

Re-exports§

pub use rustls;
pub use turn_client_proto as proto;

Structs§

DelayedTransmit
A Transmit where the data is some subset of the provided data.
Socket5Tuple
A socket with the specified network 5-tuple.
Transmit
A piece of data that needs to, or has been transmitted
TransmitBuild
A piece of data that needs to be built before it can be transmitted.
TurnClientRustls
A TURN client that communicates over TLS.
TurnConfig
Configuration structure for handling TURN client configuration.
TurnPeerData
Data that has been received from the TURN server.

Enums§

BindChannelError
Errors produced when attempting to bind a channel.
CreatePermissionError
Errors produced when attempting to create a permission for a peer address.
Data
An owned or borrowed piece of data
DataRangeOrOwned
A slice range or an owned piece of data.
DelayedMessageOrChannelSend
A delayed Transmit that will produce data for a TURN server.
DeleteError
Errors produced when attempting to delete an allocation.
SendError
Errors produced when attempting to send data to a peer.
TcpAllocateError
Errors produced when attempting to connect to a peer over TCP.
TcpConnectError
Errors produced when attempting to connect to a peer over TCP.
TurnEvent
A set of events that can occur within a TURN client’s connection to a TURN server.
TurnPollRet
Return value from calling poll().
TurnRecvRet
Return value from call recv.

Traits§

TurnClientApi
The public API of a TURN client.