#[repr(i32)]pub enum ExitCode {
Success = 0,
GeneralFailure = 1,
UsageConfigError = 64,
DataError = 65,
ResourceUnavailable = 69,
InternalError = 70,
CantCreateOutput = 73,
IoError = 74,
CompletedUnreported = 75,
PartialFailure = 76,
}Expand description
Exit codes from AGENT-CONTRACT-SPEC.md §5
Variants§
Success = 0
Success
GeneralFailure = 1
General failure
UsageConfigError = 64
Usage/config error
DataError = 65
Data error
Resource unavailable
InternalError = 70
Internal error
CantCreateOutput = 73
Can’t create output
IoError = 74
I/O error
CompletedUnreported = 75
Completed but unreported
PartialFailure = 76
Partial failure
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 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