Crate eztry_macros

Crate eztry_macros 

Source

Attribute Macrosยง

retry
Builds a retryable function with the given policy (or the default policy if none is provided). The function build will use the same name and arguments as the original function, and can be .awaited directly
retry_prepare
converts a function to a struct containing the original function, and associated retry policies useful if you want to pass the arguments to a function and define the policy procedurally then execute it elsewhere