async fn authenticate_as_sys(
nats_url: &str,
credentials: &NatsSystemCredentials,
) -> Result<Client, ConnectError>Expand description
Attempts to create a new connection to a running NATS server, using the system user credentials. A system user (belonging to the SYS account) is the only account eligible to creating other accounts.