fidl_fuchsia_net_interfaces_ext

Function wait_for_reachability

Source
pub async fn wait_for_reachability<I: FieldInterests>(
    event_stream: impl Stream<Item = Result<EventWithInterest<I>, Error>>,
) -> Result<(), OperationError<(), HashMap<u64, PropertiesAndState<(), I>>>>
Expand description

Returns a future which resolves when any network interface observed through event_stream has properties which satisfy is_globally_routable.