Skip to main content

HostFunctionResult

Type Alias HostFunctionResult 

Source
pub type HostFunctionResult = ControlFlow<HostFunctionBreak, Option<Value>>;

Aliased Type§

pub enum HostFunctionResult {
    Continue(Option<Value>),
    Break(HostFunctionBreak),
}

Variants§

§1.55.0

Continue(Option<Value>)

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

§1.55.0

Break(HostFunctionBreak)

Exit the operation without running subsequent phases.