Crate nitox

Source

Modules§

codec
commands

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 Stream that the client implements
NatsClientOptions
Options that are to be given to the client for initialization
NatsClientOptionsBuilder
Builder for NatsClientOptions.

Enums§

ArgumentValidationError
This error is designed to be given when an argument like the subject or queue_group arguments are containing spaces or tabs, which is prohibited by the protocol and trigger an error server-side
CommandError
This error is designed to wrap all the possible errors tha can occur during decoding/parsing and encoding of any command
NatsError
Error enum for all cases of internal/external errors occuring during client execution
Op
Abstraction over NATS protocol messages

Traits§

Command
Trait used to implement a common interface for implementing new commands