pub async fn wait_for_them(
    hosts_ports_or_http_urls: &[ToCheck],
    timeout: Option<u64>,
    start_time: Option<Instant>,
    silent: bool
) -> Vec<Option<u64>> 
Expand description

Waits till all hostname and port combinations are opened or until 200 status code is returned from http(s) URLs.

Arguments

  • hosts_ports_or_http_urls - items to be check
  • timeout - None means that it it may wait forever or Some(..) set timeout in milis
  • start_time - Optional time_tracker
  • silent - supresses output to console if true

Returns

Vec with Option - Some(..) with elapsed time in milis on success None otherwise.