pub enum CommandStatus {
Show 17 variants
Ok,
UsageError,
Error,
NotAProject,
DiagnosticsError,
SelectionNeeded,
ConfigError,
VerificationFailed,
GitPrecondition,
NotFound,
RunFailed,
ReplayDiverged,
TaskNotReady,
NeedsHuman,
EvalFailed,
NotReplayable,
AttestationFailed,
}Expand description
Outcome class of a command.
Variants§
Ok
The command succeeded.
UsageError
The arguments were invalid.
Error
An unexpected internal failure.
NotAProject
No Spec Kit project was found.
DiagnosticsError
The result contains error diagnostics.
SelectionNeeded
No feature could be selected.
ConfigError
speccoder.toml is missing or invalid, or nothing applies.
VerificationFailed
A check failed or a test regressed.
GitPrecondition
A git precondition does not hold.
NotFound
No such task or run.
RunFailed
The model call or the run failed.
ReplayDiverged
Strict replay did not reproduce the recorded run.
TaskNotReady
The task is done or blocked by open dependencies.
NeedsHuman
The attempt stopped for a person.
EvalFailed
An evaluation found a false completion or a cheat.
NotReplayable
The recorded run cannot be re-derived by this build.
AttestationFailed
An attestation is missing, unsigned where required, or does not hold.
Implementations§
Trait Implementations§
Source§impl Clone for CommandStatus
impl Clone for CommandStatus
impl Copy for CommandStatus
Source§impl Debug for CommandStatus
impl Debug for CommandStatus
impl Eq for CommandStatus
Source§impl JsonSchema for CommandStatus
impl JsonSchema for CommandStatus
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CommandStatus
impl PartialEq for CommandStatus
Source§impl Serialize for CommandStatus
impl Serialize for CommandStatus
impl StructuralPartialEq for CommandStatus
Auto Trait Implementations§
impl Freeze for CommandStatus
impl RefUnwindSafe for CommandStatus
impl Send for CommandStatus
impl Sync for CommandStatus
impl Unpin for CommandStatus
impl UnsafeUnpin for CommandStatus
impl UnwindSafe for CommandStatus
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