Skip to main content

encode_value_async

Function encode_value_async 

Source
pub async fn encode_value_async(
    value: &SchemaValue,
) -> Result<SchemaValueTree, EncodeError>
Expand description

Encode a guest value tree containing arbitrary recursive stream leaves. Native readers are wrapped without reading from them before the normal failure-atomic affine lowering pass transfers all resources at once.