Crate ockam_transport_udp

Source
Expand description

This crate provides a UDP Transport for Ockam’s Routing Protocol.

Structs§

Addresses
Addresses used for UDP puncture
RendezvousClient
Client to the Rendezvous server
RendezvousService
Rendezvous Service allows other nodes to discover their public IP address and port via UDP.
UdpBind
Result of [TcpTransport::listen] call.
UdpBindArguments
UDP bind arguments
UdpBindOptions
Options for a UDP connection
UdpPuncture
Individual puncture with a specified peer.
UdpPunctureNegotiation
Allows to negotiate a UDP puncture to the other node by communicating with its [UdpPunctureListener] via some side channel (e.g. Relayed connection through the Ockam Orchestrator)
UdpPunctureNegotiationListener
UDP puncture listener
UdpPunctureNegotiationListenerOptions
Trust Options for a UdpPunctureNegotiationListener
UdpPunctureOptions
Options for a UDP puncture
UdpSizeOptions
Various vector sizes that affect performance and robustness of UDP transport
UdpTransport
UDP Transport

Enums§

PunctureError
UDP Puncture errors
UdpTransportError
UDP Transport error type

Constants§

MAX_MESSAGE_SIZE
16 MB
UDP
Transport type for UDP addresses

Traits§

UdpTransportExtension
This trait adds a create_udp_transport method to any struct returning a Context. This is the case for an ockam::Node, so you can write node.create_udp_transport()