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