pub struct InterruptCheckpoint {
pub resume_node: String,
pub resume_before: bool,
pub iteration: usize,
pub active_nodes: Vec<String>,
pub graph_hash: Option<String>,
}Expand description
Data needed to resume from an interrupt.
Fields§
§resume_node: StringThe node to resume from
resume_before: boolWhether to re-execute the node or continue to next
iteration: usizeThe iteration count at interrupt
active_nodes: Vec<String>Active nodes in current superstep
graph_hash: Option<String>Hash of the graph topology at checkpoint time. Used to detect graph-definition drift on resume.
Trait Implementations§
Source§impl Clone for InterruptCheckpoint
impl Clone for InterruptCheckpoint
Source§fn clone(&self) -> InterruptCheckpoint
fn clone(&self) -> InterruptCheckpoint
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 InterruptCheckpoint
impl Debug for InterruptCheckpoint
Source§impl<'de> Deserialize<'de> for InterruptCheckpoint
impl<'de> Deserialize<'de> for InterruptCheckpoint
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
Auto Trait Implementations§
impl Freeze for InterruptCheckpoint
impl RefUnwindSafe for InterruptCheckpoint
impl Send for InterruptCheckpoint
impl Sync for InterruptCheckpoint
impl Unpin for InterruptCheckpoint
impl UnsafeUnpin for InterruptCheckpoint
impl UnwindSafe for InterruptCheckpoint
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