Trait mz_adapter::util::ShouldHalt
source · trait ShouldHalt {
fn should_halt(&self) -> bool;
}
Expand description
A trait for errors that should halt rather than panic the process.
Required Methods§
sourcefn should_halt(&self) -> bool
fn should_halt(&self) -> bool
Reports whether the error should halt rather than panic the process.