use ;
/// Represents a program exit code.
///
/// This struct should be used together with `ExitCodeSetup`:
/// ```ignore
/// program.with_setup(ExitCodeSetup::default());
/// ```
/// The exit code is stored globally per `ProgramCollect` type and can be
/// retrieved via [`exit_code()`] or updated via [`update_exit_code()`].
/// Updates the globally stored exit code for the given `ProgramCollect` type.
/// Retrieves the globally stored exit code for the given `ProgramCollect` type.
/// Returns `0` if no exit code has been set.