Function rustix::io::retry_on_intr
source ยท pub fn retry_on_intr<T, F: FnMut() -> Result<T>>(f: F) -> Result<T>
Expand description
Call f
until it either succeeds or fails other than Errno::INTR
.
pub fn retry_on_intr<T, F: FnMut() -> Result<T>>(f: F) -> Result<T>
Call f
until it either succeeds or fails other than Errno::INTR
.