pub enum WorkflowNodeStatus {
NotProcessed,
Pending,
Processing,
Failed,
Success,
BotBusy,
AwaitingBotResponse,
Cancelled,
}
Expand description
The status representing the state any Node can find itself in
Variants§
NotProcessed
The default state - indicates the node has not been run yet
Pending
The node is queued for execution but something is blocking it from running
Processing
The node is currently being executed
Failed
The node was executed unsuccessfully as something caused an error to occur
Success
The node was executed successfully
BotBusy
An activity is unable to be executed as the Bot is currently busy executing another process
AwaitingBotResponse
The Bot is executing the process and we are waiting for a response
Cancelled
The node has been cancelled via external signal
Trait Implementations§
Source§impl Debug for WorkflowNodeStatus
impl Debug for WorkflowNodeStatus
Source§impl<'de> Deserialize<'de> for WorkflowNodeStatus
impl<'de> Deserialize<'de> for WorkflowNodeStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WorkflowNodeStatus
impl PartialEq for WorkflowNodeStatus
impl StructuralPartialEq for WorkflowNodeStatus
Auto Trait Implementations§
impl Freeze for WorkflowNodeStatus
impl RefUnwindSafe for WorkflowNodeStatus
impl Send for WorkflowNodeStatus
impl Sync for WorkflowNodeStatus
impl Unpin for WorkflowNodeStatus
impl UnwindSafe for WorkflowNodeStatus
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