#[retry]
macros that allows add retrying functionality to rust functions
#[retry(stop=(attempts(4)|duration(2)),wait=fixed(1))] fn my_function() -> Result<(),Error> { ..... }