Skip to main content

Module scryer_filter

Module scryer_filter 

Source
Expand description

ScryerFilter — the subscription filter shape tower hands to scryer.

Tower compiles a TowerRule.predicate into a ScryerFilter and passes it to scryer.subscribe. Scryer uses this to pre-filter events server-side so only matching events flow to tower over the subscription stream.

The matches method implements the same logic in-process so the compiler and test fixtures can verify filter behaviour without a running scryer.

Structs§

FieldSet
Indexable field constraints for a single EventMatch predicate.

Enums§

ScryerFilter
The filter shape tower hands to scryer.subscribe.