Skip to main content

Module availability

Module availability 

Available on crate feature net only.
Expand description

Network availability observations shared by recovering transports.

A trusted platform or routing-policy observer publishes NetworkStates through NetworkChanges. Transports which can replace their egress path (UDP forwarding, QUIC migration) subscribe to it and prepare replacements with prepare_network_change.

Structs§

NetworkChanges
A bounded, coalescing source of trusted network observations.
NetworkState
A trusted routing revision with the availability observed for it.

Enums§

NetworkAvailability
Whether the platform reports a usable network path.

Functions§

prepare_network_change
Prepare work in response to a network change within a bounded time.