Searched refs:cancel_callback (Results 1 – 7 of 7) sorted by relevance
67 let cancel_callback = Box::new(move || match canceller.cancel() { in submit_transfer() localVariable75 *state = XhciTransferState::Submitted { cancel_callback }; in submit_transfer()
70 cancel_callback: Box<dyn FnOnce() + Send>,81 XhciTransferState::Submitted { cancel_callback } => { in try_cancel()83 cancel_callback(); in try_cancel()
166 Interrupt Execution # pyshell.PyShell.cancel_callback
904 text.bind("<<interrupt-execution>>", self.cancel_callback)1101 def cancel_callback(self, event=None): member in PyShell
165 Interrupt Execution # pyshell.PyShell.cancel_callback
888 text.bind("<<interrupt-execution>>", self.cancel_callback)1100 def cancel_callback(self, event=None): member in PyShell
70 void SetCancelCallback(base::OnceClosure cancel_callback) { in SetCancelCallback() argument71 cancel_callback_ = std::move(cancel_callback); in SetCancelCallback()