pub trait CoordView: Send + Sync {
// Required methods
fn active_leases(&self) -> Vec<LeaseSummary>;
fn pending_handoffs(&self) -> Vec<HandoffSummary>;
fn pending_interrupts(&self) -> Vec<InterruptSummary>;
fn tasks(&self) -> Vec<TaskSummary>;
}Expand description
Read access to coordination state (leases, handoffs, interrupts, tasks).
Backed today by the coord SQLite store; in tests, by a fixture.
Required Methods§
fn active_leases(&self) -> Vec<LeaseSummary>
fn pending_handoffs(&self) -> Vec<HandoffSummary>
fn pending_interrupts(&self) -> Vec<InterruptSummary>
Sourcefn tasks(&self) -> Vec<TaskSummary>
fn tasks(&self) -> Vec<TaskSummary>
Supervisor task lifecycles, newest first. Empty when the coord feature
is off so the TUI can render a “no supervisor” state without cfg.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".