#[derive(Debug, Clone, Copy)]
pub struct ConnectionLimits {
pub max_connections: usize,
pub max_requests_per_connection: usize,
}
impl ConnectionLimits {
pub fn new(max_connections: usize, max_requests_per_connection: usize) -> Self {
Self {
max_connections,
max_requests_per_connection,
}
}
}