pub fn push(&self, item: T) {
        self.queue.push(item);
        self.semaphore.add_permits(1);
        self.available.add();
    }
/// Push an item into the queue
Push an item into the queue
Push an item into the queue
pub fn push(&self, item: T) {
        self.queue.push(item);
        self.semaphore.add_permits(1);
        self.available.add();
    }
pub fn push ( & self , item : T ) { self . queue . push ( item ) ; self . semaphore . add_permits ( 1 ) ; self . available . add ( ) ; }
Push an item into the queue
Push an item into the queue
&self
item
T
&self
item
T