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.