Trait sp_runtime_interface::host::IntoFFIValue
source · pub trait IntoFFIValue: RIType {
// Required method
fn into_ffi_value(
self,
context: &mut dyn FunctionContext,
) -> Result<Self::FFIType>;
}
Expand description
Something that can be converted into a ffi value.
Required Methods§
sourcefn into_ffi_value(
self,
context: &mut dyn FunctionContext,
) -> Result<Self::FFIType>
fn into_ffi_value( self, context: &mut dyn FunctionContext, ) -> Result<Self::FFIType>
Convert self
into a ffi value.