netstack_testing_common::interfaces

Function wait_for_online

Source
pub async fn wait_for_online(
    interfaces_state: &StateProxy,
    id: u64,
    want_online: bool,
) -> Result<()>
Expand description

Wait until the interface’s online property matches want_online.