Macro atm_io_utils::retry
[−]
[src]
macro_rules! retry { ($e:expr) => { ... }; }
Helper macro for working with io::Result
in a context where
ErrorKind::Interrupted
means to retry an action. This macro corresponds to
std::try
, but it will reevaluate the expression until it does not evaluate
to an Err
of kind Interrupted
.