#[non_exhaustive]pub struct BlockRouteArgs {
pub execution_id: ExecutionId,
pub lane_id: LaneId,
pub partition: Partition,
pub reason_code: String,
pub reason_detail: String,
pub now: TimestampMs,
}Expand description
Inputs to crate::engine_backend::EngineBackend::block_route.
Lifted from the SDK-side ff_block_execution_for_admission
inline helper on the claim_next scanner (v0.12 PR-5). Moves an
execution from the lane’s eligible ZSET into its blocked_route
ZSET after a CapabilityMismatch reject — the engine’s unblock
scanner promotes blocked_route back to eligible once a worker
with matching caps registers.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.execution_id: ExecutionId§lane_id: LaneId§partition: Partition§reason_code: StringFree-form block reason code (e.g. "waiting_for_capable_worker").
reason_detail: StringHuman-readable reason detail for operator logs.
now: TimestampMsImplementations§
Source§impl BlockRouteArgs
impl BlockRouteArgs
Sourcepub fn new(
execution_id: ExecutionId,
lane_id: LaneId,
partition: Partition,
reason_code: String,
reason_detail: String,
now: TimestampMs,
) -> Self
pub fn new( execution_id: ExecutionId, lane_id: LaneId, partition: Partition, reason_code: String, reason_detail: String, now: TimestampMs, ) -> Self
Construct a BlockRouteArgs.
Trait Implementations§
Source§impl Clone for BlockRouteArgs
impl Clone for BlockRouteArgs
Source§fn clone(&self) -> BlockRouteArgs
fn clone(&self) -> BlockRouteArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BlockRouteArgs
impl RefUnwindSafe for BlockRouteArgs
impl Send for BlockRouteArgs
impl Sync for BlockRouteArgs
impl Unpin for BlockRouteArgs
impl UnsafeUnpin for BlockRouteArgs
impl UnwindSafe for BlockRouteArgs
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