Skip to main content

HarnessOperatorHostErrorV1

Enum HarnessOperatorHostErrorV1 

Source
pub enum HarnessOperatorHostErrorV1 {
Show 60 variants InvalidRequest, Unauthorized, NotFound, Conflict, TooLarge, Deadline, Busy, Unavailable, OutcomeUnknown, UnsupportedTransport { agent: String, transport: HarnessRuntimeTransportV1, }, UnsupportedCapability, Internal, Unsupported, BuildStampMismatch { expected: String, received: String, }, EngineRefused { detail: String, }, InvalidLaunchSelection { task_id: HarnessTaskId, plan_id: Option<HarnessSelectorV1>, why: String, }, UnsupportedCheckpointVersion { version: u16, }, InvalidDispatchContext { reason: String, }, MutationDigestMismatch, DispatchFingerprintUnavailable, NonAtomicRunOperation, AcceptedSpawnProofRequired, InvalidAcceptedSpawnProof { reason: String, }, DeliveryAuthorityWindowClosed, DeliveryCompilationInvalid, InvalidStagedDeliveryProof { reason: String, }, AtomicDeliveryCommitRequired, ContinuationAuthorityWindowClosed, InvalidContinuationProof { reason: String, }, AtomicContinuationBindRequired, InvalidHarnessMcpReservation { reason: String, }, HarnessMcpGrantActorRefused { actor_kind: String, parent_run_id: Option<HarnessRunId>, grant_actor_run_id: HarnessRunId, }, HarnessMcpGrantOperationLinkRefused { grant_id: SessionGrantId, operation_id: HarnessOperationId, existing_grant_id: SessionGrantId, }, HarnessMcpGrantRevisionRefused { grant_id: SessionGrantId, durable_revision: HarnessRevision, presented_revision: HarnessRevision, }, HarnessMcpGrantLinkRefused { grant_id: SessionGrantId, grant_actor_run_id: HarnessRunId, dispatch_actor_run_id: HarnessRunId, }, HarnessMcpGrantTargetRefused { grant_id: SessionGrantId, presented_target: HarnessGrantTargetV1, allowed_targets: Vec<HarnessGrantTargetV1>, }, HarnessMcpReplayMismatch, HarnessMcpProofMismatch, HarnessMcpArmProofReservationFieldRefused { field: String, durable: String, proof: String, }, HarnessMcpArmProofRouteRefused { field: String, durable: String, route: String, }, HarnessMcpArmProofBindingRefused { field: String, expected: String, actual: String, }, HarnessMcpArmDurableLookupMissing { missing: String, operation_id: Option<HarnessOperationId>, reservation_id: Option<String>, }, HarnessMcpArmReservationNotReadyRefused { reservation_id: String, state: String, armed_at_unix_ms: u64, updated_at_unix_ms: u64, expires_at_unix_ms: u64, }, HarnessMcpArmRouteInvalid { operation_id: HarnessOperationId, field: String, value: String, }, HarnessMcpLaunchPolicyRefused { plan_policy: String, reservation_present: bool, }, HarnessMcpLaunchReservationNotArmedRefused { reservation_id: String, state: String, }, HarnessMcpLaunchOperationRefused { reservation_operation_id: HarnessOperationId, dispatch_operation_id: HarnessOperationId, }, HarnessMcpLaunchGrantRefused { plan_grant_id: SessionGrantId, plan_grant_revision: HarnessRevision, reservation_grant_id: SessionGrantId, reservation_grant_revision: HarnessRevision, }, HarnessMcpSpecializedTransitionRequired, OperatorRequestConflict { operation_id: HarnessOperationId, }, InvalidOperatorTaskTransition { from: HarnessTaskStateV1, to: HarnessTaskStateV1, }, TaskHasActiveRun, ExecutionSpecRevisionMismatch { expected: Option<HarnessRevision>, actual: Option<HarnessRevision>, }, ExecutionSpecLaunchMismatch, IssuedExecutionCasMismatch { expected: HarnessExpectedExecutionSpecRevisionV1, spec: Option<HarnessRevision>, issuance: Option<HarnessRevision>, }, TaskNotReady, TaskDependenciesNotDone { task_id: String, dependency_ids: Vec<String>, }, TaskStartBlockedByRun { task_id: String, }, SchedulerResourceExhausted, SchedulerInvalidGraph { reason: String, },
}

Variants§

§

InvalidRequest

§

Unauthorized

§

NotFound

§

Conflict

§

TooLarge

§

Deadline

§

Busy

§

Unavailable

§

OutcomeUnknown

§

UnsupportedTransport

Fields

§agent: String
§

UnsupportedCapability

§

Internal

§

Unsupported

§

BuildStampMismatch

Fields

§expected: String
§received: String
§

EngineRefused

Fields

§detail: String
§

InvalidLaunchSelection

The one variant named explicitly in this fix’s own brief: a reviewed task-launch selection failed one of validate_current_launch_options/ validate_current_issued_launch_options’s checks. why is always one of a small set of fixed literals (see HarnessServiceError:: InvalidTaskLaunchSelection’s doc comment); plan_id is Some whenever the failing check concerns a specific plan.

§

UnsupportedCheckpointVersion

Fields

§version: u16
§

InvalidDispatchContext

Fields

§reason: String
§

MutationDigestMismatch

§

DispatchFingerprintUnavailable

§

NonAtomicRunOperation

§

AcceptedSpawnProofRequired

§

InvalidAcceptedSpawnProof

Fields

§reason: String
§

DeliveryAuthorityWindowClosed

§

DeliveryCompilationInvalid

§

InvalidStagedDeliveryProof

Fields

§reason: String
§

AtomicDeliveryCommitRequired

§

ContinuationAuthorityWindowClosed

§

InvalidContinuationProof

Fields

§reason: String
§

AtomicContinuationBindRequired

§

InvalidHarnessMcpReservation

Fields

§reason: String
§

HarnessMcpGrantActorRefused

Fields

§actor_kind: String
§parent_run_id: Option<HarnessRunId>
§grant_actor_run_id: HarnessRunId
§

HarnessMcpGrantOperationLinkRefused

Fields

§operation_id: HarnessOperationId
§existing_grant_id: SessionGrantId
§

HarnessMcpGrantRevisionRefused

Fields

§durable_revision: HarnessRevision
§presented_revision: HarnessRevision
§

HarnessMcpGrantLinkRefused

Fields

§grant_actor_run_id: HarnessRunId
§dispatch_actor_run_id: HarnessRunId
§

HarnessMcpGrantTargetRefused

Fields

§presented_target: HarnessGrantTargetV1
§allowed_targets: Vec<HarnessGrantTargetV1>
§

HarnessMcpReplayMismatch

§

HarnessMcpProofMismatch

§

HarnessMcpArmProofReservationFieldRefused

Fields

§field: String
§durable: String
§proof: String
§

HarnessMcpArmProofRouteRefused

Fields

§field: String
§durable: String
§route: String
§

HarnessMcpArmProofBindingRefused

Fields

§field: String
§expected: String
§actual: String
§

HarnessMcpArmDurableLookupMissing

Fields

§missing: String
§reservation_id: Option<String>
§

HarnessMcpArmReservationNotReadyRefused

Fields

§reservation_id: String
§state: String
§armed_at_unix_ms: u64
§updated_at_unix_ms: u64
§expires_at_unix_ms: u64
§

HarnessMcpArmRouteInvalid

Fields

§operation_id: HarnessOperationId
§field: String
§value: String
§

HarnessMcpLaunchPolicyRefused

Fields

§plan_policy: String
§reservation_present: bool
§

HarnessMcpLaunchReservationNotArmedRefused

Fields

§reservation_id: String
§state: String
§

HarnessMcpLaunchOperationRefused

Fields

§reservation_operation_id: HarnessOperationId
§dispatch_operation_id: HarnessOperationId
§

HarnessMcpLaunchGrantRefused

Fields

§plan_grant_id: SessionGrantId
§plan_grant_revision: HarnessRevision
§reservation_grant_id: SessionGrantId
§reservation_grant_revision: HarnessRevision
§

HarnessMcpSpecializedTransitionRequired

§

OperatorRequestConflict

Fields

§operation_id: HarnessOperationId
§

InvalidOperatorTaskTransition

§

TaskHasActiveRun

§

ExecutionSpecRevisionMismatch

§

ExecutionSpecLaunchMismatch

§

IssuedExecutionCasMismatch

§

TaskNotReady

§

TaskDependenciesNotDone

Fields

§task_id: String
§dependency_ids: Vec<String>
§

TaskStartBlockedByRun

Fields

§task_id: String
§

SchedulerResourceExhausted

§

SchedulerInvalidGraph

Fields

§reason: String

Trait Implementations§

Source§

impl Clone for HarnessOperatorHostErrorV1

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for HarnessOperatorHostErrorV1

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for HarnessOperatorHostErrorV1

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Eq for HarnessOperatorHostErrorV1

Source§

impl PartialEq for HarnessOperatorHostErrorV1

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for HarnessOperatorHostErrorV1

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for HarnessOperatorHostErrorV1

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.