Skip to main content

CANCELLED_ERROR_CODE

Constant CANCELLED_ERROR_CODE 

Source
pub const CANCELLED_ERROR_CODE: i32 = -5;
Expand description

The reserved error code reporting that an async call was cancelled: its cancel token fired, or the executor dropped the future before it completed. The completion callback still fires exactly once, with this code.