Module nat_traversal_api

Module nat_traversal_api 

Source
Expand description

High-level NAT traversal API High-level NAT Traversal API for Autonomi P2P Networks

This module provides a simple, high-level interface for establishing QUIC connections through NATs using sophisticated hole punching and coordination protocols.

Structs§

BootstrapNode
Information about a bootstrap/coordinator node
CandidateAddress
Address candidate discovered during NAT traversal
CandidatePair
A candidate pair for hole punching (ICE-like)
ConnectionMetrics
Connection quality metrics
NatTraversalConfig
Configuration for NAT traversal behavior
NatTraversalEndpoint
High-level NAT traversal endpoint for Autonomi P2P networks
NatTraversalStatistics
Statistics about NAT traversal performance
PeerId
Unique identifier for a peer in the network
SessionState
Session state machine for tracking connection lifecycle
SessionStateUpdate
Session state update notification

Enums§

CandidatePairState
State of a candidate pair during hole punching
CandidateValidationError
Errors that can occur during candidate address validation
ConnectionState
Connection state in the session lifecycle
EndpointRole
Role of an endpoint in the Autonomi network
NatTraversalError
Errors that can occur during NAT traversal
NatTraversalEvent
Events generated during NAT traversal process
StateChangeReason
Reason for connection state change
TraversalPhase
Phases of NAT traversal process