pub trait IntoReturnwhere
Self: Sized,{
// Required method
fn into_return(self) -> Result<Value, VmError>;
}Expand description
Trait governing things that can be returned from native functions.
Required Methods§
Sourcefn into_return(self) -> Result<Value, VmError>
fn into_return(self) -> Result<Value, VmError>
Convert something into a return value.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.