fn remove_connection(&mut self, key: ConnMapKey) {
        if let Some(conn) = self.conn_map.remove(&key) {
            self.remove_listener(conn.as_raw_fd());
            METRICS.vsock.conns_removed.inc();
        }
        self.free_local_port(key.local_port);
    }
/// Remove a connection from the active connection poll.
Remove a connection from the active connection poll.
Remove a connection from the active connection poll .
fn remove_connection(&mut self, key: ConnMapKey) {
        if let Some(conn) = self.conn_map.remove(&key) {
            self.remove_listener(conn.as_raw_fd());
            METRICS.vsock.conns_removed.inc();
        }
        self.free_local_port(key.local_port);
    }
fn remove_connection ( & mut self , key : ConnMapKey ) { if let Some ( conn ) = self . conn_map . remove ( & key ) { self . remove_listener ( conn . as_raw_fd ( ) ) ; METRICS . vsock . conns_removed . inc ( ) ; } self . free_local_port ( key . local_port ) ; }
Remove a connection from the active connection poll.
Remove a connection from the active connection poll .
&mut self
key
ConnMapKey
&mut self
key
ConnMapKey