pub trait ErrorExt: Seal {
// Provided method
fn is_cancelled(&self) -> bool { ... }
}Expand description
Extension trait for io::Error and results with it.
Provided Methods§
Sourcefn is_cancelled(&self) -> bool
fn is_cancelled(&self) -> bool
Whether the error or result is cancelled.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".