Structs§
Functions§
- policy_
scan_ for_ networks - Returns a map with the scan results returned by the policy layer. The map is
keyed by the
idfield of eachfidl_fuchsia_policy::ScanResult. - sort_
policy_ scan_ result_ list - Sort a list of scan results by the
idandbssidfields. - strip_
timestamp_ nanos_ from_ scan_ results - TODO(https://fxbug.dev/42164608): This function strips the
timestamp_nanosfield from eachfidl_fuchsia_wlan_policy::ScanResultentry since thetimestamp_nanosfield is undefined. - timeout_
after - This function returns
Ok(r), whereris the return value frommain_future, ifmain_futurecompletes before thetimeoutduration. Otherwise,Err(())is returned.