[][src]Function cancellable_io::is_cancelled

pub fn is_cancelled(e: &Error) -> bool

Checks if the error returned by a method was caused by the operation being cancelled.