risingwave_common::util::panic

Trait FutureCatchUnwindExt

source
pub trait FutureCatchUnwindExt
where Self: Future,
{ // Required method fn rw_catch_unwind(self) -> TaskLocalFuture<(), CatchUnwind<Self>> where Self: Sized + UnwindSafe; }

Required Methods§

source

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.

Implementors§