Crate libp2p_autonat
source ·Expand description
Implementation of the AutoNAT protocol.
Structs
NetworkBehaviour
for AutoNAT.- Config for the
Behaviour
. - Unique identifier for a probe.
Enums
- Event produced by
Behaviour
. - Possible failures occurring in the context of receiving an inbound request and sending a response.
- Inbound probe failed.
- Assumed NAT status.
- Possible failures occurring in the context of sending an outbound request and receiving the response.
- Outbound probe failed or was aborted.
Constants
- The protocol name used for negotiating with multistream-select.