Function need_retry

Source
fn need_retry(error: &Error) -> bool