pub enum FlowEvent {
TaskUpdate {
event: String,
session_id: Option<String>,
file: Option<String>,
},
FeatureUpdate {
id: i64,
passes: Option<bool>,
in_progress: Option<bool>,
},
AgentStatus {
agent: Option<String>,
status: Option<String>,
task: Option<String>,
},
Progress {
passing: usize,
total: usize,
in_progress: usize,
},
MetadataUpdate,
Connected,
}Expand description
Unified event type for broadcasting across TUI, SSE, and WebSocket.
Variants§
TaskUpdate
A task JSON file was created, modified, or deleted.
FeatureUpdate
A feature in SQLite was updated.
AgentStatus
Agent status change.
Progress
Progress snapshot.
MetadataUpdate
Session metadata changed.
Connected
Initial connection acknowledgment.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FlowEvent
impl<'de> Deserialize<'de> for FlowEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FlowEvent
impl RefUnwindSafe for FlowEvent
impl Send for FlowEvent
impl Sync for FlowEvent
impl Unpin for FlowEvent
impl UnwindSafe for FlowEvent
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