retry

Attribute Macro 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> {
.....
}