Skip to main content

Module keys

Module keys 

Source
Expand description

Compile-time Field keys, one per native field, read with ctx.context(key).

Each key is a zero-sized selector implementing Field only for the context type that carries its field, so applying a key to the wrong transport’s context is a compile error.

Structs§

Channel
Reads the concrete channel off a PubSubContext.
ConsumerGroup
Reads the consumer group off a StreamContext.
EntryId
Reads the stream entry id off a StreamContext.
FromPattern
Reads whether a PubSubContext delivery matched through a PSUBSCRIBE pattern.