Module nats

Module nats 

Source
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§

NatsClient
A client for interacting with NATS servers
NatsKeyValue
A key-value store for interacting with NATS JetStream KV buckets
NatsMessage
A message received from a NATS subscription containing the payload data
NatsStreamConfig
Configuration for NATS JetStream consumers
NatsSubscription
A subscription to a NATS subject that receives messages published to that subject
OffsetDateTime
A PrimitiveDateTime with a UtcOffset.

Enums§

NatsAuth
NatsStreamDeliverPolicy
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