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