pub enum Resume {
Previous,
Restart,
Terminate,
}Expand description
How the main flow continues after a digression (overlay) completes.
Variants§
Previous
Resume the main flow exactly where it was suspended (history state).
Restart
Re-enter the main flow from its start.
Terminate
End the conversation (e.g. a cancel/handoff digression).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Resume
impl<'de> Deserialize<'de> for Resume
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
impl Copy for Resume
impl Eq for Resume
impl StructuralPartialEq for Resume
Auto Trait Implementations§
impl Freeze for Resume
impl RefUnwindSafe for Resume
impl Send for Resume
impl Sync for Resume
impl Unpin for Resume
impl UnwindSafe for Resume
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more