pub type FunctionResult<'a> = Result<Return<'a>, FunctionError>;
Available on crate feature
functions
only.Expand description
The result of calling a DynamicFunction
or DynamicFunctionMut
.
Returns Ok(value)
if the function was called successfully,
where value
is the Return
value of the function.
Aliased Type§
pub enum FunctionResult<'a> {
Ok(Return<'a>),
Err(FunctionError),
}