Expand description
NATS Message headers, modeled loosely after the http::header
crate.
Structs§
- GetAll
- Header
Map - A struct for handling NATS headers.
Has a similar API to
http::header
, but properly serializes and deserializes according to NATS requirements. - Header
Name - Defines a NATS header field name
- Header
Value - Represents NATS header field value.
- Parse
Header Name Error - Parse
Header Value Error
Constants§
- NATS_
EXPECTED_ LAST_ MESSAGE_ ID - The expected last message ID within the stream.
- NATS_
EXPECTED_ LAST_ SEQUENCE - The expected last sequence number within the stream.
- NATS_
EXPECTED_ LAST_ SUBJECT_ SEQUENCE - The expected last sequence number of the subject.
- NATS_
EXPECTED_ STREAM - The expected stream the message should be part of.
- NATS_
LAST_ CONSUMER - The last known consumer that processed the message.
- NATS_
LAST_ SEQUENCE - The last known sequence number of the message.
- NATS_
LAST_ STREAM - The last known stream the message was part of.
- NATS_
MESSAGE_ ID - A unique identifier for the message.
- NATS_
SEQUENCE - The sequence number of the message within the stream.
- NATS_
STREAM - The name of the stream the message belongs to.
- NATS_
SUBJECT - The subject of the message, used for routing and filtering messages.
- NATS_
TIME_ STAMP - The timestamp of when the message was sent.