pub async fn refresh_token(
client: &Client,
refresh: &str,
) -> Result<OAuthCredentials, RefreshFailure>Expand description
Refresh an expired OAuth token. Failures are typed at the source: no
response or an unusable success body is transient, a status is
classified by [status_kind].