Module wlan_hw_sim::test_utils

source ·

Structs§

Functions§

  • Returns a map with the scan results returned by the policy layer. The map is keyed by the id field of each fidl_fuchsia_policy::ScanResult.
  • Sort a list of scan results by the id and bssid fields.
  • TODO(https://fxbug.dev/42164608): This function strips the timestamp_nanos field from each fidl_fuchsia_wlan_policy::ScanResult entry since the timestamp_nanos field is undefined.
  • This function returns Ok(r), where r is the return value from main_future, if main_future completes before the timeout duration. Otherwise, Err(()) is returned.