Module async_nats::header
source · Expand description
NATS Message headers, modeled loosely after the http::header
crate.
Structs§
- A struct for handling NATS headers. Has a similar API to
http::header
, but properly serializes and deserializes according to NATS requirements. - Defines a NATS header field name
- Represents NATS header field value.
Constants§
- The expected last message ID within the stream.
- The expected last sequence number within the stream.
- The expected last sequence number of the subject.
- The expected stream the message should be part of.
- The last known consumer that processed the message.
- The last known sequence number of the message.
- The last known stream the message was part of.
- A unique identifier for the message.
- The sequence number of the message within the stream.
- The name of the stream the message belongs to.
- The subject of the message, used for routing and filtering messages.
- The timestamp of when the message was sent.