pub fn connect( servers: impl IntoIterator<Item = impl ToString>, ) -> Result<NatsClient, SdkError>
Connects to one or more NATS servers
servers
Result containing the connected NATS client or an error if connection fails