#[non_exhaustive]pub struct MarkWorkerDeadArgs {
pub worker_instance_id: WorkerInstanceId,
pub namespace: Namespace,
pub reason: String,
pub now: TimestampMs,
}Expand description
Inputs to crate::engine_backend::EngineBackend::mark_worker_dead
(RFC-025). Feature gate: core.
reason is capped at 256 bytes and must not contain control
characters; oversize / invalid reject with
Validation(InvalidInput, "reason: …"). Mirrors
fail_execution’s failure_reason discipline.
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.worker_instance_id: WorkerInstanceId§namespace: Namespace§reason: String§now: TimestampMsImplementations§
Source§impl MarkWorkerDeadArgs
impl MarkWorkerDeadArgs
pub fn new( worker_instance_id: WorkerInstanceId, namespace: Namespace, reason: String, now: TimestampMs, ) -> Self
Trait Implementations§
Source§impl Clone for MarkWorkerDeadArgs
impl Clone for MarkWorkerDeadArgs
Source§fn clone(&self) -> MarkWorkerDeadArgs
fn clone(&self) -> MarkWorkerDeadArgs
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 moreSource§impl Debug for MarkWorkerDeadArgs
impl Debug for MarkWorkerDeadArgs
Source§impl PartialEq for MarkWorkerDeadArgs
impl PartialEq for MarkWorkerDeadArgs
impl Eq for MarkWorkerDeadArgs
impl StructuralPartialEq for MarkWorkerDeadArgs
Auto Trait Implementations§
impl Freeze for MarkWorkerDeadArgs
impl RefUnwindSafe for MarkWorkerDeadArgs
impl Send for MarkWorkerDeadArgs
impl Sync for MarkWorkerDeadArgs
impl Unpin for MarkWorkerDeadArgs
impl UnsafeUnpin for MarkWorkerDeadArgs
impl UnwindSafe for MarkWorkerDeadArgs
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