Structs§
- Client is aCloneablehandle to NATS connection. Client should not be created directly. Instead, one of two methods can be used: crate::connect and crate::ConnectOptions::connect
- Used for building customized requests.
- Represents statistics for the instance of the client throughout its lifecycle.
Enums§
Type Aliases§
- An error returned from theClient::publish,Client::publish_with_headers,Client::publish_with_replyorClient::publish_with_reply_and_headersfunctions.
- Error returned when a core NATS request fails. To be enumerate over the variants, call RequestError::kind.