//! Simple channel ID tracking.
//!//! For this backup tool, each queue gets its own AMQP connection + channel.
//! This module provides minimal channel ID management.
/// Tracks allocated channel IDs on a connection.
pubstructChannelPool{allocated:Vec<u16>,
}implChannelPool{pubfnnew()->Self{Self{
allocated:Vec::new(),}}pubfntrack(&mutself, channel_id:u16){self.allocated.push(channel_id);}pubfnallocated(&self)->&[u16]{&self.allocated
}}implDefault forChannelPool{fndefault()->Self{Self::new()}}