Trait sp_runtime_interface::host::IntoFFIValue
source · [−]pub trait IntoFFIValue: RIType {
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
fn 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.