[][src]Module tox_core::relay::client

The implementation of tcp relay client.

Structs

Client

Client connection to a TCP relay.

ConnectionError

Error that can happen when handling a connection.

Connections

TCP connections provides reliable connection to a friend via multiple TCP relays.

HandlePacketError

Error that can happen when handling Tcp relay packet.

SendPacketError

Error that can happen when sending packet.

SpawnError

Error that can happen when spawning a connection.

Enums

ConnectionErrorKind

The specific kind of error that can occur.

HandlePacketErrorKind

The specific kind of error that can occur.

IncomingPacket

Packet that can be received from a TCP relay and should be handled outside of connections module.

NodeConnectionStatus

Connection status shows whether a connection used or not.

SendPacketErrorKind

The specific kind of error that can occur.

SpawnErrorKind

The specific kind of error that can occur.