pub enum WatcherEvent {
Turn(Box<Turn>),
Progress {
kind: String,
data: Value,
},
}Expand description
Events emitted by a ConversationWatcher.
Variants§
Turn(Box<Turn>)
A complete conversational turn.
Progress
A non-conversational progress/status event.
Trait Implementations§
Source§impl Clone for WatcherEvent
impl Clone for WatcherEvent
Source§fn clone(&self) -> WatcherEvent
fn clone(&self) -> WatcherEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WatcherEvent
impl RefUnwindSafe for WatcherEvent
impl Send for WatcherEvent
impl Sync for WatcherEvent
impl Unpin for WatcherEvent
impl UnsafeUnpin for WatcherEvent
impl UnwindSafe for WatcherEvent
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