mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-06 21:12:55 +00:00
The solution we ended up for `backoff::retry` requires always cloning of cancellation tokens even though there is just `.await`. Fix that, and also turn the return type into `Option<Result<T, E>>` avoiding the need for the `E::cancelled()` fn passed in. Cc: #6096