#[repr(u8)]pub enum ExitCode {
Ok = 0,
Error = 1,
Usage = 2,
Mismatch = 3,
NotFound = 4,
LostRace = 5,
LeaseExpired = 6,
}Variants§
Ok = 0
Asserted state holds (recorded / clean / listed / published).
Error = 1
Unexpected error (git failure, I/O).
Usage = 2
Usage error, or a named check failed (audit/lint findings, an init or probe FAIL, probe changes not applied).
Mismatch = 3
Trace or projection mismatch (keys/units named on stdout).
NotFound = 4
Not found / precondition failed.
LostRace = 5
Lost publish race after retries.
LeaseExpired = 6
Lease already expired (renew refused — re-claim instead).
Implementations§
Trait Implementations§
impl Copy for ExitCode
impl Eq for ExitCode
impl StructuralPartialEq for ExitCode
Auto Trait Implementations§
impl Forget for ExitCode
impl Freeze for ExitCode
impl Move 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