Expand description
Action definitions and execution helpers. Actions are value types that describe what to do; the host application translates them into its own mail operations. Evaluation and planning here are pure: no I/O.
Structs§
- Filter
Match - The result of evaluating a rule: which message and what actions to apply.
Enums§
- Planned
Action - A single planned action ready for execution by the host application.
Functions§
- build_
action_ plan - Translate a list of actions into a plan that the host can execute.
- collect_
matches - Collect the actions from the first rule matching a message (in the given
rule order — use
sort_rules_by_priorityto order by priority first).