pub async fn watch_peer_connection_states<H, S, A>(
harness: H,
address: Address,
proxy: PeerProxy,
) -> Result<(), Error>where
H: ExpectableState<State = S> + ExpectableExt<S, A>,
S: AsMut<EmulatorState> + 'static,
A: AsRef<EmulatorProxy>,
Expand description
Record connection state changes from the given emulated Peer. The returned Future doesn’t
run until the proxy
channel gets closed or a FIDL error occurs.