//! Connection pooling and buffer pooling modules
//!
//! This module provides connection management and buffer pooling for the NNTP proxy.

pub mod buffer;
pub mod connection_guard;
pub mod connection_trait;
pub mod deadpool_connection;
pub mod health_check;
pub mod prewarming;
pub mod provider;

pub use buffer::{
    BufferPool, ChunkedResponse, HotPathAllocationMetricsSnapshot, PooledBuffer,
    hot_path_allocation_metrics_snapshot, reset_hot_path_allocation_metrics,
};
pub use connection_guard::{ConnectionGuard, salvage_with_health_check};
pub use connection_trait::{ConnectionProvider, PoolStatus};
pub use health_check::{HealthCheckError, HealthCheckMetrics};
pub use prewarming::prewarm_pools;
pub use provider::DeadpoolConnectionProvider;
