Expand description
NATS credentials, that can be turned into async_nats::ConnectOptions
Structs§
- Nats
JwtCredentials - Credentials to authenticate to a NATS server via JWT and Private key.
Enums§
- Nats
Credentials - Information required to authenticate against NATS server
Traits§
- Env 🔒
- A thin wrapper around
env::Varsto allows dummy implementations for unit testing. Code that deals withenv::Varsis often hard to test, since altering env vars in a test may affect other tests that are running concurrently. This trait can easily be implemented for astd::collections::HashMap, thus keeping updates locally.
Type Aliases§
- EnvVar
Value 🔒 - A value taken from an Environment Variable