pub trait ExitCode {
// Required method
fn code(self) -> i32;
}Expand description
Represents a value that can be used as the exit status of the process.
See quick_main!.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".