Trait 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§

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::Result<T>