pub struct WorkflowNode { /* private fields */ }Expand description
Snapshot of a workflow process and its linked activity children.
Implementations§
Source§impl WorkflowNode
impl WorkflowNode
Sourcepub fn workflow_type(&self) -> &str
pub fn workflow_type(&self) -> &str
Logical workflow type for this process.
Sourcepub fn workflow_pid(&self) -> Pid
pub fn workflow_pid(&self) -> Pid
Workflow process PID.
Sourcepub fn activity_children(&self) -> &BTreeSet<Pid>
pub fn activity_children(&self) -> &BTreeSet<Pid>
Activity child PIDs one level below this workflow process.
Sourcepub fn has_activity_child(&self, activity_pid: Pid) -> bool
pub fn has_activity_child(&self, activity_pid: Pid) -> bool
Returns true when the activity is recorded as a linked child of this workflow.
Trait Implementations§
Source§impl Clone for WorkflowNode
impl Clone for WorkflowNode
Source§fn clone(&self) -> WorkflowNode
fn clone(&self) -> WorkflowNode
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 WorkflowNode
impl Debug for WorkflowNode
impl Eq for WorkflowNode
Source§impl PartialEq for WorkflowNode
impl PartialEq for WorkflowNode
impl StructuralPartialEq for WorkflowNode
Auto Trait Implementations§
impl Freeze for WorkflowNode
impl RefUnwindSafe for WorkflowNode
impl Send for WorkflowNode
impl Sync for WorkflowNode
impl Unpin for WorkflowNode
impl UnsafeUnpin for WorkflowNode
impl UnwindSafe for WorkflowNode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.