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