diff --git a/tokio/src/runtime/handle.rs b/tokio/src/runtime/handle.rs index 91f13d6c2ed..7ad5b7330fb 100644 --- a/tokio/src/runtime/handle.rs +++ b/tokio/src/runtime/handle.rs @@ -443,6 +443,10 @@ impl Handle { } } +impl std::panic::UnwindSafe for Handle {} + +impl std::panic::RefUnwindSafe for Handle {} + cfg_taskdump! { impl Handle { /// Captures a snapshot of the runtime's state.