pub async fn connect(addrs: impl ToServerAddrs) -> Result<Client>Expand description
Connect to NATS.io server and ensure that the connection is fully established before
returning the resulting async_nats::Client
pub async fn connect(addrs: impl ToServerAddrs) -> Result<Client>Connect to NATS.io server and ensure that the connection is fully established before
returning the resulting async_nats::Client