Action

Type Alias Action 

Source
pub type Action = ControlFlow<()>;
Available on crate feature index only.
Expand description

What to do after a ChangeRef was passed ot the callback of index().

Use std::ops::ControlFlow::Continue to continue the operation. Use std::ops::ControlFlow::Break to stop the operation immediately. This is useful if one just wants to determine if something changed or not.

Aliased Type§

pub enum Action {
    Continue(()),
    Break(()),
}

Variants§

§1.55.0

Continue(())

Move on to the next phase of the operation as normal.

§1.55.0

Break(())

Exit the operation without running subsequent phases.