pub struct Exclusive { /* private fields */ }
Expand description
Exclusive node concrete type
The exclusive node itself doesn’t do any bespoke execution logic as it’s the Job.next_node
method
which handles any expressions present on pointers.
Implementations§
Trait Implementations§
Source§impl Node for Exclusive
impl Node for Exclusive
Source§fn kind(&self) -> WorkflowNodeType
fn kind(&self) -> WorkflowNodeType
Return the type of node, this is used for easily locating the Start and End nodes
Source§fn position(&self) -> usize
fn position(&self) -> usize
A pointer to the current nodes position in the
Job.nodes
collectionSource§fn run<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), NodeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn run<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), NodeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
The publicly exposed API for running a node
Auto Trait Implementations§
impl Freeze for Exclusive
impl !RefUnwindSafe for Exclusive
impl Send for Exclusive
impl Sync for Exclusive
impl Unpin for Exclusive
impl !UnwindSafe for Exclusive
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