pub fn set_request_timeout(timeout: Option<Duration>) -> Option<Duration>
Expand description

Sets the timeout for all credentials HTTP requests and returns the old timeout value, if any; this timeout applies after a 30-second connection timeout.

Short durations are bumped to one millisecond, and durations greater than 4 billion milliseconds (49 days) are rounded up to infinity (no timeout). The global default value is 30 seconds.