fn rate_limit_wait(
status: u16,
headers: &HeaderMap,
now: SystemTime,
) -> Option<Duration>Expand description
How long the response asks the caller to wait before retrying.
Retry-After counts seconds. x-ratelimit-reset is an epoch second and
only applies once x-ratelimit-remaining is 0. A 403 is a rate limit only
when one of the two applies, because otherwise it is a permission failure.