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