Open LegNeato opened 1 year ago
While using an Option for the return value of retry for a Policy is reasonable, it might be clearer to use https://doc.rust-lang.org/std/ops/enum.ControlFlow.html ? Then the break/stop case can return a value too, which might be useful.
Option
retry
Policy
While using an
Option
for the return value ofretry
for aPolicy
is reasonable, it might be clearer to use https://doc.rust-lang.org/std/ops/enum.ControlFlow.html ? Then the break/stop case can return a value too, which might be useful.