pub fn retry<O, T, E>(n: u64, operation: O) -> Result<T, Error<E>> where O: Fn() -> Result<T, E>, T: Debug, E: Debug,