Crate autonat
Available on crate feature
autonat
only.Modules§
Structs§
- Behaviour
NetworkBehaviour
for AutoNAT.- Config
- Config for the
Behaviour
. - ProbeId
- Unique identifier for a probe.
Enums§
- Event
- Event produced by
Behaviour
. - Inbound
Failure - Possible failures occurring in the context of receiving an inbound request and sending a response.
- Inbound
Probe Error - Inbound probe failed.
- Inbound
Probe Event - NatStatus
- Assumed NAT status.
- Outbound
Failure - Possible failures occurring in the context of sending an outbound request and receiving the response.
- Outbound
Probe Error - Outbound probe failed or was aborted.
- Outbound
Probe Event - Response
Error
Constants§
- DEFAULT_
PROTOCOL_ NAME - The protocol name used for negotiating with multistream-select.