Skip to main content

Module topic_pattern

Module topic_pattern 

Source
Expand description

Inbound topic patterns: {name} captures one level, {name..} the rest. Matching belongs to the connector’s TopicGrammar.

Structs§

ExactGrammar
No wildcards: string equality, captures rejected.
PatternError
Invalid {…} syntax.
TopicMatch
The topic a pattern route matched, borrowed for one ingest call.
TopicPattern
A topic with valid {…} syntax.

Enums§

PatternPart
One piece of a TopicPattern.

Constants§

MAX_CAPTURES
Most captures one pattern may name.

Traits§

TopicFilter
One compiled pattern.
TopicGrammar
A connector’s wildcard rules.

Type Aliases§

Spans
Byte range of each capture in the topic.