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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".