pub enum DriverEvent {
UiDialog(UiDialogRequest),
UiDialogClosed(String),
Ui(UiEvent),
Status(DriverStatus),
Notice(String),
Ended,
}Expand description
An item pushed from a driver to the TUI.
Variants§
UiDialog(UiDialogRequest)
UiDialogClosed(String)
Ui(UiEvent)
A transcript event.
Status(DriverStatus)
A fresh session-state snapshot.
Notice(String)
A local notice line (error / connection message).
Ended
The backend stream ended.
Trait Implementations§
Source§impl Clone for DriverEvent
impl Clone for DriverEvent
Auto Trait Implementations§
impl Forget for DriverEvent
impl Freeze for DriverEventwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
PhantomData<AssistantBlock>: Freeze,
PhantomData<UiToolCall>: Freeze,
PhantomData<String>: Freeze,
impl Move for DriverEvent
impl RefUnwindSafe for DriverEvent
impl Send for DriverEvent
impl Sync for DriverEvent
impl Unpin for DriverEvent
impl UnsafeUnpin for DriverEventwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
PhantomData<AssistantBlock>: UnsafeUnpin,
PhantomData<UiToolCall>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for DriverEvent
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