Macro atm_io_utils::retry_nb
[−]
[src]
macro_rules! retry_nb { ($e:expr) => { ... }; }
This macro is to retry
what tokio_io::try_nb
is to std::try
. It works
like try_nb
, but it will reevaluate the expression until it does not
evaluate to an Err
of kind Interrupted
.