Result

Type Alias Result 

Source
pub type Result<T = ()> = ControlFlow<Divert, T>;
Expand description

Result of command execution.

If the command was interrupted in the middle of execution, the result value will be a Break having a Divert value which specifies what to execute next.

Aliased Type§

pub enum Result<T = ()> {
    Continue(T),
    Break(Divert),
}

Variants§

§1.55.0

Continue(T)

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

§1.55.0

Break(Divert)

Exit the operation without running subsequent phases.