[][src]Function retry::retry

pub fn retry<I, O, R, E, OR>(iterable: I, operation: O) -> Result<R, Error<E>> where
    I: IntoIterator<Item = Duration>,
    O: FnMut() -> OR,
    OR: Into<OperationResult<R, E>>, 

Retry the given operation synchronously until it succeeds, or until the given Duration iterator ends.