Crate natsclient

Source

Modules§

error
Error wrappers and boilerplate

Macros§

err
A handy macro borrowed from the signatory crate that lets library-internal code generate more readable exception handling flows

Structs§

Client
The main entry point for your application to consume NATS services. This client manages connections, connection retries, adjusts to new servers as they enter the cluster, and much more.
ClientOptions
Options to configure the NATS client. A builder is available so a fluent API can be used to set options
ClientOptionsBuilder
Builder for ClientOptions.
Message
Represents a message as per the NATS protocol documentation:

Enums§

AuthenticationStyle
Indicates the type of client authentication used by the NATS client

Type Aliases§

Result