pub enum Ending<'a> {
Answered,
Stopped(&'a str),
Cancelled,
Failed(&'a str),
}Variants§
Answered
The model answered.
Stopped(&'a str)
A hook said stop, or the loop gave up. The run’s history is on disk either way.
Cancelled
Failed(&'a str)
Trait Implementations§
impl<'a> Eq for Ending<'a>
impl<'a> StructuralPartialEq for Ending<'a>
Auto Trait Implementations§
impl<'a> Forget for Ending<'a>
impl<'a> Freeze for Ending<'a>
impl<'a> Move for Ending<'a>
impl<'a> RefUnwindSafe for Ending<'a>
impl<'a> Send for Ending<'a>
impl<'a> Sync for Ending<'a>
impl<'a> Unpin for Ending<'a>
impl<'a> UnsafeUnpin for Ending<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for Ending<'a>where
&'a str: UnwindSafe,
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<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.