pub async fn fake_watcher_impl<I: FidlRouteIpExt>(
events: impl Stream<Item = Vec<I::WatchEvent>>,
server_end: ServerEnd<I::WatcherMarker>,
)
Expand description
A fake implementation of the WatcherV4
and WatcherV6
protocols.
Feeds events received in events
as responses to Watch()
.