pub fn check_statement_cancellation() -> Result<(), QueryCancelled>Expand description
Report the running statement’s cancellation with the reason its token was canceled for, or Ok while it may continue. Work outside any statement has no cancellation to observe and continues.