Ic_cdk::api::call::method_name()

如何用rust 使用这个方法,当我使用时,他给我返回The Replica returned an error: code 5, message: “Canister ryjl3-tyaaa-aaaaa-aaaba-cai violated contract: “ic0_msg_method_name_size” cannot be executed in update mode”