pub struct PendingActivation {
pub node: NodeId,
pub send_arg: Option<Value>,
}Expand description
One pending node activation persisted in a checkpoint: the node to run on
resume plus the optional per-invocation Send
argument that scheduled it.
The durable counterpart of the executor’s in-flight activation. Persisting
the send_arg is what lets a map-reduce fanout survive an interrupt/failure
boundary — without it every pending worker re-runs with no argument.
Fields§
§node: NodeIdThe node scheduled to run on resume.
send_arg: Option<Value>The per-invocation Send argument, when the activation was a Send
packet (plain edge/goto activations carry None).
Trait Implementations§
Source§impl Clone for PendingActivation
impl Clone for PendingActivation
Source§fn clone(&self) -> PendingActivation
fn clone(&self) -> PendingActivation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PendingActivation
impl Debug for PendingActivation
Source§impl<'de> Deserialize<'de> for PendingActivation
impl<'de> Deserialize<'de> for PendingActivation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 PartialEq for PendingActivation
impl PartialEq for PendingActivation
Source§impl Serialize for PendingActivation
impl Serialize for PendingActivation
impl StructuralPartialEq for PendingActivation
Auto Trait Implementations§
impl Freeze for PendingActivation
impl RefUnwindSafe for PendingActivation
impl Send for PendingActivation
impl Sync for PendingActivation
impl Unpin for PendingActivation
impl UnsafeUnpin for PendingActivation
impl UnwindSafe for PendingActivation
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