fidl_fuchsia_net_routes_ext::testutil

Function handle_watch

Source
pub fn handle_watch<I: FidlRouteIpExt>(
    request: <<I::WatcherMarker as ProtocolMarker>::RequestStream as Stream>::Item,
    event_batch: Vec<I::WatchEvent>,
)
Expand description

Responds to the given Watch request with the given batch of events.