pub fn map_mock_servers<R>(&self, f: &dyn Fn(&MockServer) -> R) -> Vec<R> {
        let mut results = vec![];
        for (_, mock_server) in self.mock_servers.iter() {
            results.push(f(mock_server));
        }
        return results
    }
/// Map all the running mock servers
Map all the running mock servers
Map all the running mock servers
pub fn map_mock_servers<R>(&self, f: &dyn Fn(&MockServer) -> R) -> Vec<R> {
        let mut results = vec![];
        for (_, mock_server) in self.mock_servers.iter() {
            results.push(f(mock_server));
        }
        return results
    }
pub fn map_mock_servers < R > ( & self , f : & dyn Fn ( & MockServer ) -> R ) -> Vec < R > { let mut results = vec ! [ ] ; for ( _ , mock_server ) in self . mock_servers . iter ( ) { results . push ( f ( mock_server ) ) ; } return results }
Map all the running mock servers
Map all the running mock servers
&self
f
&dyn Fn(&MockServer) -> R
&self
f
&dyn Fn(&MockServer) -> R