Skip to content

Consider using ControlFlow for retry Policy. #750

@LegNeato

Description

@LegNeato

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions