pub trait RetEncode {
// Required method
fn encode_ret(self) -> IntRet;
}
Expand description
Trait for types that can be encoded to a return value of a ocall.
Required Methods§
Sourcefn encode_ret(self) -> IntRet
fn encode_ret(self) -> IntRet
Encode the ocall return value into a IntRet