pub unsafe fn Module_method_meta(
self_: Pin<&mut Module>,
method_name: &CxxString,
method_meta_out: *mut MethodMeta,
) -> ErrorAvailable on crate feature
module only.Expand description
Get a method metadata struct by method name.
Loads the program if needed.
§Arguments
method_name: The name of the method to get the metadata for.method_meta_out: A mutable reference to aMethodMetastruct that will be filled with the metadata.
§Returns
A error indicating whether the metadata retrieval was successful or not.
§Safety
The method_meta_out struct must be valid for the lifetime of the function.
The method_meta_out struct can be used only if the function returns Error::Ok.