pub enum ExitCode {
Success = 0,
ParseError = 1,
LintErrors = 2,
IoError = 3,
InvalidArgs = 4,
}Expand description
Exit codes for CLI application
Variants§
Success = 0
Operation completed successfully
ParseError = 1
YAML parsing failed
LintErrors = 2
Linter found errors
IoError = 3
I/O operation failed
InvalidArgs = 4
Invalid command-line arguments
Implementations§
Trait Implementations§
impl Copy for ExitCode
impl Eq for ExitCode
impl StructuralPartialEq for ExitCode
Auto Trait Implementations§
impl Freeze for ExitCode
impl RefUnwindSafe for ExitCode
impl Send for ExitCode
impl Sync for ExitCode
impl Unpin for ExitCode
impl UnsafeUnpin for ExitCode
impl UnwindSafe for ExitCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more