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 checktimeout-Nonemeans that it it may wait forever orSome(..)set timeout in milisstart_time- Optional time_trackersilent- suppresses output to console if true
§Returns
Vec with Option - Some(..) with elapsed time in milis on success None otherwise.