Structs§
- Interrupted
- The error returned by err_if_interrupted.
- Never
Interrupts - A convenience implementation, should only be used in tests.
- Shutdown
Interruptee - SqlInterrupt
Handle - Interrupt operations that use SQL
- SqlInterrupt
Scope - Check if an operation has been interrupted
Traits§
- Interruptee
- Represents the state of something that may be interrupted. Decoupled from the interrupt mechanics so that things which want to check if they have been interrupted are simpler.
Functions§
- in_
shutdown - Check if we’re currently in shutdown mode
- register_
interrupt - Register a ShutdownInterrupt implementation
- shutdown
- Initiate shutdown mode