[−][src]Module ratsio::nats_client
Structs
NatsClient | The NATS Client. What you'll be using mostly. All the async handling is made internally except for
the system messages that are forwarded on the |
NatsClientMultiplexer | |
NatsClientOptions | Options that are to be given to the client for initialization |
NatsClientOptionsBuilder | Builder for |
NatsClientSender | |
UriVec | UriVec allows ergonomic use of NatsClientOptions. |
UserJWT | An option that indicates client JWT authentication should be used. Takes a callback that will be used to sign the nonce the server supplies. For security reasons, ensure that you keep the seed in memory only as long as is necessary. Because of the tokio wrappings used by this client, the callback must be wrapped in an Arc of the signer callback function type. |
Enums
NatsClientState |
Type Definitions
SignerCallback | An alias representing the requirements for the nonce signing callback function |