Skip to main content

find_window

Function find_window 

Source
pub async fn find_window(
    t: &Transport,
    filter: &RuleFilter,
) -> Result<Vec<Rule>>
Expand description

Every rule matching filter, in creation order.

Page 1 gives the total. A total above WINDOW_MAX_RULES fails with kind unsupported before page 2. A pass is kept only when every page reported the same total, the row count equals that total, and every rule_id is distinct. A failed pass is discarded and the read starts again from page 1 once; a second failed pass is kind conflict.