pub fn from_url(url: &Url, timeout: Option<Duration>) -> Result<Response, Error>Expand description
Measures the HTTP timings from the given URL
ยงErrors
This function will return an error if the URL is invalid or the URL is not reachable.
It could also error under any scenario in the error::Error enum.