Skip to main content

Catch

Trait Catch 

Source
pub trait Catch: Callback { }
Expand description

A callback with a catch method.

A batch calls the method when the first of its jobs fails for good, and a chain calls it when any of its jobs fails for good.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§