Trait base::sys::unix::handle_eintr::InterruptibleResult
source · pub trait InterruptibleResult {
// Required method
fn is_interrupted(&self) -> bool;
}
Expand description
Trait for determining if a result indicates the operation was interrupted.
Required Methods§
sourcefn is_interrupted(&self) -> bool
fn is_interrupted(&self) -> bool
Returns true
if this result indicates the operation was interrupted and should be retried,
and false
in all other cases.