pub struct OrchestratorState {
pub poll_interval_ms: u64,
pub max_concurrent_agents: u32,
pub running: HashMap<String, RunningEntry>,
pub claimed: HashSet<String>,
pub retry_attempts: HashMap<String, RetryEntry>,
pub completed: HashSet<String>,
pub codex_totals: CodexTotals,
pub codex_rate_limits: Option<Value>,
}Expand description
Single authoritative in-memory state owned by the orchestrator.
Fields§
§poll_interval_ms: u64§max_concurrent_agents: u32§running: HashMap<String, RunningEntry>§claimed: HashSet<String>§retry_attempts: HashMap<String, RetryEntry>§completed: HashSet<String>Bookkeeping only, not used for dispatch gating.
codex_totals: CodexTotals§codex_rate_limits: Option<Value>Implementations§
Trait Implementations§
Source§impl Debug for OrchestratorState
impl Debug for OrchestratorState
Source§impl<'de> Deserialize<'de> for OrchestratorState
impl<'de> Deserialize<'de> for OrchestratorState
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 OrchestratorState
impl RefUnwindSafe for OrchestratorState
impl Send for OrchestratorState
impl Sync for OrchestratorState
impl Unpin for OrchestratorState
impl UnsafeUnpin for OrchestratorState
impl UnwindSafe for OrchestratorState
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