Function rustix::io::with_retrying

pub fn with_retrying<T, F: FnMut -> Result<T>>(f: F) -> Result<T>
Documentation

Call f until it either succeeds or fails other than Error::INTR.