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.