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