Struct Outcome
Outcome of the code execution.
[JsonConverter(typeof(OutcomeConverter))]
public readonly record struct Outcome : IEquatable<Outcome>
- Implements
- Inherited Members
Properties
AllValues
public static IReadOnlyList<Outcome> AllValues { get; }
Property Value
OutcomeDeadlineExceeded
Code execution ran for too long, and was cancelled. There may or may not be a partial
output present.
public static Outcome OutcomeDeadlineExceeded { get; }
Property Value
OutcomeFailed
Code execution failed. output contains the stderr and stdout, if any.
public static Outcome OutcomeFailed { get; }
Property Value
OutcomeOk
Code execution completed successfully. output contains the stdout, if any.
public static Outcome OutcomeOk { get; }
Property Value
OutcomeUnspecified
Unspecified status. This value should not be used.
public static Outcome OutcomeUnspecified { get; }
Property Value
Value
public string Value { get; }
Property Value
Methods
Equals(Outcome)
public bool Equals(Outcome other)
Parameters
otherOutcome
Returns
FromString(string)
public static Outcome FromString(string value)
Parameters
valuestring
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
implicit operator Outcome(string)
public static implicit operator Outcome(string value)
Parameters
valuestring