Function holochain_wasmer_guest::return_ptr
source · [−]pub fn return_ptr<R>(return_value: R) -> GuestPtrLenwhere
R: Serialize + Debug,
Expand description
Convert any serializable value into a GuestPtr
that can be returned to the host.
The host is expected to know how to consume and deserialize it.