Expand description
Timeout protection for plugin operations
Implements thread-based timeout enforcement with cooperative cancellation.
Uses crossbeam channels for reliable timeout detection and Arc<AtomicBool>
for cooperative cancellation within plugins.
Structs§
- Timeout
Guard - RAII guard that sets cancellation flag on drop
Functions§
- run_
with_ timeout - Run an operation with timeout protection
- run_
with_ timeout_ and_ cancel - Run an operation with timeout protection and external cancellation support