Expand description
Safe reducer updates — catch panics during update without crashing the runtime.
Structs§
- Safe
Reduce Error - A reducer panic caught by
safe_reduce_updateorCatchReducer.
Functions§
- safe_
reduce_ rollback - Run
reduceinsidecatch_unwind, rolling back viacheckpointon panic. - safe_
reduce_ update - Run
reduceinsidecatch_unwind. Default for [CatchReducer] andRuntime(withruntimefeature): panics are caught butstateis not reverted. Usesafe_reduce_rollbackfor rollback.