pub enum FlowOutcome {
Answered,
MessageLeft,
Transferred,
HungUp,
Aborted,
Defect,
}Expand description
How a run ended — the call disposition (“Answered by your receptionist”, “Left a message”, …) and the debugging outcome for abnormal ends.
Variants§
Answered
A ring node was answered by a human; the engine stepped out.
MessageLeft
A message node recorded a voicemail.
Transferred
A transfer node handed the call to an external number.
HungUp
A hangup node ended the call.
Aborted
An effect failed mid-run (the call likely dropped). See
Trace::error.
Defect
The flow reached an impossible state — an unknown node, a missing exit, or the step cap. Validation is meant to prevent all of these, so this signals a defect worth alerting on.
Trait Implementations§
Source§impl Clone for FlowOutcome
impl Clone for FlowOutcome
Source§fn clone(&self) -> FlowOutcome
fn clone(&self) -> FlowOutcome
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 moreimpl Copy for FlowOutcome
Source§impl Debug for FlowOutcome
impl Debug for FlowOutcome
impl Eq for FlowOutcome
Source§impl PartialEq for FlowOutcome
impl PartialEq for FlowOutcome
Source§impl Serialize for FlowOutcome
impl Serialize for FlowOutcome
impl StructuralPartialEq for FlowOutcome
Auto Trait Implementations§
impl Freeze for FlowOutcome
impl RefUnwindSafe for FlowOutcome
impl Send for FlowOutcome
impl Sync for FlowOutcome
impl Unpin for FlowOutcome
impl UnsafeUnpin for FlowOutcome
impl UnwindSafe for FlowOutcome
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
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.