pub struct CatchClause {
pub matcher: CatchMatcher,
pub on_when: Option<FilterPredicate>,
pub steps: Vec<BoxProcessor>,
pub disposition: ExceptionDisposition,
}Expand description
A single doCatch clause.
Fields§
§matcher: CatchMatcherThe main matcher (variant-name list or predicate).
on_when: Option<FilterPredicate>Optional sub-predicate evaluated AFTER the main matcher passes.
steps: Vec<BoxProcessor>Sub-pipeline executed when the clause matches.
disposition: ExceptionDispositionADR-0019 disposition: Handled (default), Propagate, or Continued (rejected at parse time).
In YAML, use lowercase: handled, propagate, continued.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CatchClause
impl !UnwindSafe for CatchClause
impl Freeze for CatchClause
impl Send for CatchClause
impl Sync for CatchClause
impl Unpin for CatchClause
impl UnsafeUnpin for CatchClause
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more