pub type Result<T> = Result<T, Error>;
Aliased Type§
enum Result<T> {
Ok(T),
Err(Error),
}
Variants§
Trait Implementations§
source§impl<T> InterruptibleResult for Result<T>
impl<T> InterruptibleResult for Result<T>
source§fn 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.