pub enum EngineEvent {
NodeStarted {
id: String,
worker: String,
},
NodeStream {
id: String,
event: WorkerEvent,
},
NodeFinished {
id: String,
status: NodeStatus,
tokens: u64,
},
Narration(String),
Parked {
id: String,
question: String,
},
}Expand description
Engine events for the interface / status to render.
Variants§
NodeStarted
NodeStream
NodeFinished
Fields
§
status: NodeStatusNarration(String)
Parked
A node parked awaiting the user, with the sharp question to answer.
Trait Implementations§
Source§impl Clone for EngineEvent
impl Clone for EngineEvent
Auto Trait Implementations§
impl Forget for EngineEvent
impl Freeze for EngineEvent
impl Move for EngineEvent
impl RefUnwindSafe for EngineEvent
impl Send for EngineEvent
impl Sync for EngineEvent
impl Unpin for EngineEvent
impl UnsafeUnpin for EngineEvent
impl UnwindSafe for EngineEvent
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