pub fn open( host: &str, port: u16, timeout: Option<Duration>, ) -> Result<Connection, Box<dyn Error>>
Establishes a connection to a STOMP server.