pub enum Interrupt {
None,
Cancel,
Steer {
source: String,
text: String,
},
}Expand description
Boundary snapshot, supplied by the executor at every phase change.
Cancel ends the turn at the boundary; Steer records and advances
(the executor folds the text into its Conversation).
Variants§
Trait Implementations§
impl Eq for Interrupt
impl StructuralPartialEq for Interrupt
Auto Trait Implementations§
impl Freeze for Interrupt
impl RefUnwindSafe for Interrupt
impl Send for Interrupt
impl Sync for Interrupt
impl Unpin for Interrupt
impl UnsafeUnpin for Interrupt
impl UnwindSafe for Interrupt
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