pub fn return_ptr<R>(return_value: R) -> u64where
    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.