pub fn msg_method_name() -> String
Gets the name of the method to be inspected.
This function is only available in the canister_inspect_message context.
canister_inspect_message
Traps if the method name is not valid UTF-8.