Action

Type Alias Action 

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

Returned by the tree_with_rewrites() function to control flow.

Use std::ops::ControlFlow::Continue to continue the traversal of changes. Use std::ops::ControlFlow::Break to stop the traversal of changes and stop calling the function that returned it.

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.