pub trait BusView: Send + Sync {
// Required methods
fn list_agents(&self) -> Vec<AgentDirectoryEntry>;
fn list_roles(&self) -> Vec<RoleBinding>;
}Expand description
Read access to the agent-bus roster + role table. Disabled implementations
(bus feature off in the binary) return empty vectors so the TUI can
render the panel as “no bus” without conditional compilation.
Required Methods§
fn list_agents(&self) -> Vec<AgentDirectoryEntry>
fn list_roles(&self) -> Vec<RoleBinding>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".