pub fn get_connection_index(id: &str) -> usize
Gets the connection index from the connection ID.
id
The connection index