pub async fn check_rate_limit(client: &Octocrab) -> Result<RateLimitStatus>Expand description
Checks the GitHub API rate limit status.
Uses the authenticated Octocrab client to fetch the current rate limit information from the GitHub API.
§Arguments
client- Authenticated Octocrab client
§Returns
RateLimitStatus with current rate limit information
§Errors
Returns an error if the API request fails.