Skip to main content

Module event_matcher

Module event_matcher 

Expand description

Event pattern matching for the routines engine.

Structs§

EventPattern
A single event pattern attached to a routine trigger.
RoutineEvent
An event emitted by the system that may trigger routines.

Enums§

MatchStrategy
How a pattern string should be interpreted.

Functions§

matches
Check whether an event matches a single pattern.
matches_any
Check whether an event matches any of the given patterns.