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§

source

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.

Implementations on Foreign Types§

source§

impl<T> InterruptibleResult for Result<T>

Implementors§

source§

impl<T> InterruptibleResult for base::errno::Result<T>