Expand description
Client interface for interacting with NATS messaging system
Ok(Some(field_output))
This module provides a high-level client for connecting to and interacting with NATS servers. It supports both authenticated and unauthenticated connections to one or more NATS servers.
Structs§
- Nats
Client - A client for interacting with NATS servers
- Nats
KeyValue - A key-value store for interacting with NATS JetStream KV buckets
- Nats
Message - A message received from a NATS subscription containing the payload data
- Nats
Stream Config - Configuration for NATS JetStream consumers
- Nats
Subscription - A subscription to a NATS subject that receives messages published to that subject
- Offset
Date Time - A
PrimitiveDateTime
with aUtcOffset
.
Enums§
- Nats
Auth - Nats
Stream Deliver Policy - Delivery policy for NATS JetStream consumers
Functions§
- connect
- Connects to one or more NATS servers
- connect_
with_ auth - Connects to one or more NATS servers with authentication