pub enum ExitCode {
Success = 0,
Usage = 1,
IoError = 2,
ToggleError = 3,
Internal = 4,
}Expand description
Exit codes per Phase 0 PRD §0.8
Variants§
Success = 0
EC00: Success
Usage = 1
EC01: Bad CLI / range
IoError = 2
EC02: File R/W error
ToggleError = 3
EC03: Toggle logic issue
Internal = 4
EC04: Internal panic (reserved for future panic hook, not yet wired)
Implementations§
Trait Implementations§
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