pub async fn watch_advertising_states<H, S, A>(harness: H) -> Result<(), Error>where
H: ExpectableState<State = S> + ExpectableExt<S, A>,
S: AsMut<EmulatorState> + 'static,
A: AsRef<EmulatorProxy>,
Expand description
Record advertising state changes. The asynchronous execution doesn’t complete until the emulator channel gets closed or a FIDL error occurs.