Skip to main content

ErrorExt

Trait ErrorExt 

Source
pub trait ErrorExt: Seal {
    // Provided method
    fn is_cancelled(&self) -> bool { ... }
}
Expand description

Extension trait for io::Error and results with it.

Provided Methods§

Source

fn is_cancelled(&self) -> bool

Whether the error or result is cancelled.

Implementations on Foreign Types§

Source§

impl ErrorExt for Error

Source§

impl<T> ErrorExt for Result<T>

Source§

impl<T, B> ErrorExt for BufResult<T, B>

Implementors§