Skip to main content

get_next_profile

Method
This is a method of the FailoverManager class in the failover module.
Get the next available profile. Returns profiles in priority order, skipping those that are rate limited or in cooldown.

Signature

def get_next_profile(&mut self) -> Option<&AuthProfile>

Returns

Returns
Option<&AuthProfile>
The result of the operation.