bt_test_harness::host::expectation

Function host_state

Source
pub fn host_state(
    host: &HostHarness,
    p: Predicate<HostInfo>,
) -> impl Future<Output = Result<HostState, Error>> + '_
Expand description

Returns a Future that resolves when the HostInfo matches target.