pub enum TaskState {
LocalShell(LocalShellTaskState),
LocalAgent(HashMap<String, Value>),
RemoteAgent(HashMap<String, Value>),
InProcessTeammate(HashMap<String, Value>),
LocalWorkflow(LocalWorkflowTaskState),
MonitorMcp(MonitorMcpTaskState),
Dream(HashMap<String, Value>),
}Expand description
Union of all concrete task state types. Use this for components that need to work with any task type.
Variants§
LocalShell(LocalShellTaskState)
LocalAgent(HashMap<String, Value>)
RemoteAgent(HashMap<String, Value>)
InProcessTeammate(HashMap<String, Value>)
LocalWorkflow(LocalWorkflowTaskState)
MonitorMcp(MonitorMcpTaskState)
Dream(HashMap<String, Value>)
Auto Trait Implementations§
impl Freeze for TaskState
impl !RefUnwindSafe for TaskState
impl !Send for TaskState
impl !Sync for TaskState
impl Unpin for TaskState
impl UnsafeUnpin for TaskState
impl !UnwindSafe for TaskState
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