pub enum ResumeValue {
Single(Value),
ById(HashMap<String, Value>),
ByNamespace(HashMap<String, Value>),
}Expand description
Value provided when resuming from an interrupt
Supports single values, ID-based resume, and namespace-based resume.
Variants§
Single(Value)
Single value for position-based resume
ById(HashMap<String, Value>)
Resume with a specific interrupt ID
Key = interrupt_id, value = resume value
ByNamespace(HashMap<String, Value>)
Resume within a specific namespace
Key = namespace (e.g., node_name:uuid), value = resume value
Also used for Vec
Trait Implementations§
Source§impl Clone for ResumeValue
impl Clone for ResumeValue
Source§fn clone(&self) -> ResumeValue
fn clone(&self) -> ResumeValue
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 ResumeValue
impl Debug for ResumeValue
Auto Trait Implementations§
impl Freeze for ResumeValue
impl RefUnwindSafe for ResumeValue
impl Send for ResumeValue
impl Sync for ResumeValue
impl Unpin for ResumeValue
impl UnsafeUnpin for ResumeValue
impl UnwindSafe for ResumeValue
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