pub fn into_watch_stream(
client_proxy: ClientProxy,
) -> impl Stream<Item = Result<WatchItem, Error>> + Unpin
Expand description
Turns a fidl_fuchsia_net_dhcpv6::ClientProxy
into a stream of items
yielded by calling all hanging get methods on the protocol.
fidl_fuchsia_net_dhcpv6::ClientProxy::watch_servers
and
fidl_fuchsia_net_dhcpv6::ClientProxy::watch_address
must never be
called on the protocol channel client_proxy
belongs to once this function
returns until the stream ends or returns an error, as only one pending call
is allowed at a time.