pub struct End { /* private fields */ }
Expand description
End Node concrete type
Implementations§
Trait Implementations§
Source§impl Node for End
impl Node for End
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 End
impl !RefUnwindSafe for End
impl Send for End
impl Sync for End
impl Unpin for End
impl !UnwindSafe for End
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