fidl_fuchsia_net_routes_ext::rules

Function rule_event_stream_from_state

Source
pub fn rule_event_stream_from_state<I: FidlRuleIpExt + FidlRouteIpExt>(
    state: &<I::StateMarker as ProtocolMarker>::Proxy,
) -> Result<impl Stream<Item = Result<RuleEvent<I>, RuleWatchError>>, WatcherCreationError>
Expand description

Creates a rules event stream from the state proxy.