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 Freeze for DriverEvent
impl RefUnwindSafe for DriverEvent
impl Send for DriverEvent
impl Sync for DriverEvent
impl Unpin for DriverEvent
impl UnsafeUnpin for DriverEvent
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