pub enum PoolHealth {
Healthy,
Busy,
Degraded,
Exhausted,
}Expand description
Pool health status based on utilization and queue depth.
Variants§
Healthy
Pool is healthy: low utilization, no waiting requests
Busy
Pool is busy: high utilization (>80%) but no waiting requests
Degraded
Pool is degraded: some requests are waiting
Exhausted
Pool is exhausted: at capacity with significant waiting queue
Implementations§
Source§impl PoolHealth
impl PoolHealth
Trait Implementations§
Source§impl Clone for PoolHealth
impl Clone for PoolHealth
Source§fn clone(&self) -> PoolHealth
fn clone(&self) -> PoolHealth
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PoolHealth
impl Debug for PoolHealth
Source§impl Display for PoolHealth
impl Display for PoolHealth
Source§impl PartialEq for PoolHealth
impl PartialEq for PoolHealth
impl Copy for PoolHealth
impl Eq for PoolHealth
impl StructuralPartialEq for PoolHealth
Auto Trait Implementations§
impl Freeze for PoolHealth
impl RefUnwindSafe for PoolHealth
impl Send for PoolHealth
impl Sync for PoolHealth
impl Unpin for PoolHealth
impl UnsafeUnpin for PoolHealth
impl UnwindSafe for PoolHealth
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