Attribute Macro retrying::retry

source ·
#[retry]
Expand description

macros that allows add retrying functionality to rust functions

Examples

#[retry(stop=(attempts(4)|duration(2)),wait=fixed(1))]
fn my_function() -> Result<(),Error> {
.....
}