Expand description
Connection pool status display renderable.
Provides a visual dashboard for connection pool status, showing utilization, health, and queue information at a glance.
§Example
use sqlmodel_console::renderables::PoolStatusDisplay;
// Create display with pool stats: active=8, idle=2, max=20, pending=0, timeouts=3
let display = PoolStatusDisplay::new(8, 2, 20, 0, 3);
// Rich mode: Styled panel with progress bar
// Plain mode: Simple text output for agents
println!("{}", display.render_plain());Structs§
- Pool
Status Display - Display options for pool status.
Enums§
- Pool
Health - Pool health status based on utilization and queue depth.
Traits§
- Pool
Stats Provider - Statistics snapshot for pool status display.