pub trait FutureCatchUnwindExtwhere
Self: Future,{
// Required method
fn rw_catch_unwind(self) -> TaskLocalFuture<(), CatchUnwind<Self>>
where Self: Sized + UnwindSafe;
}Required Methods§
Sourcefn rw_catch_unwind(self) -> TaskLocalFuture<(), CatchUnwind<Self>>where
Self: Sized + UnwindSafe,
fn rw_catch_unwind(self) -> TaskLocalFuture<(), CatchUnwind<Self>>where
Self: Sized + UnwindSafe,
Catches unwinding panics while polling the future.
See the module-level documentation for why this is needed.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".