pub fn new_with_past_connections_response(response: PastConnectionList) -> Self {
        Self {
            saved_networks: Mutex::new(HashMap::new()),
            disconnects_recorded: Mutex::new(vec![]),
            fail_all_stores: false,
            active_scan_result_recorded: Arc::new(Mutex::new(false)),
            passive_scan_result_recorded: Arc::new(Mutex::new(false)),
            past_connections_response: response,
        }
    }
/// Create FakeSavedNetworksManager, that will always respond to get_past_connections with
/// the specified value.
Create FakeSavedNetworksManager, that will always respond to get_past_connections with
the specified value.
Create FakeSavedNetworksManager that will always respond to get_past_connections with the specified value .
pub fn new_with_past_connections_response(response: PastConnectionList) -> Self {
        Self {
            saved_networks: Mutex::new(HashMap::new()),
            disconnects_recorded: Mutex::new(vec![]),
            fail_all_stores: false,
            active_scan_result_recorded: Arc::new(Mutex::new(false)),
            passive_scan_result_recorded: Arc::new(Mutex::new(false)),
            past_connections_response: response,
        }
    }
pub fn new_with_past_connections_response ( response : PastConnectionList ) -> Self { Self { saved_networks : Mutex :: new ( HashMap :: new ( ) ) , disconnects_recorded : Mutex :: new ( vec ! [ ] ) , fail_all_stores : false , active_scan_result_recorded : Arc :: new ( Mutex :: new ( false ) ) , passive_scan_result_recorded : Arc :: new ( Mutex :: new ( false ) ) , past_connections_response : response , } }
Create FakeSavedNetworksManager, that will always respond to get_past_connections with
the specified value.
Create FakeSavedNetworksManager that will always respond to get_past_connections with the specified value .
response
PastConnectionList
response
PastConnectionList