Skip to main content

alloc_value

Function alloc_value 

Source
pub fn alloc_value<'a, T: Send + 'a>(
    caller: &'a mut Caller<'_, T>,
    value: &'a EvalValue,
) -> Pin<Box<dyn Future<Output = Result<Option<Rooted<AnyRef>>>> + Send + 'a>>
Expand description

The guest value of value: strings, numbers, t, nil, symbols and lists of them.

ยงErrors

A value kind with no host-built form (bytes, commodity), an index beyond 31 bits, or a module without the exports the compiler always emits.