pub async fn with_retry<F, Fut, T, E>( config: RetryConfig, operation: F, ) -> Result<T>where F: Fn() -> Fut, Fut: Future<Output = Result<T, E>>, E: Into<SerperError>,
Executes a function with retry logic
config
operation
Result containing the operation result or final error