Attribute Macro ic_cdk::inspect_message
source · #[inspect_message]
Expand description
Register the canister_inspect_message
entry point of a canister.
This attribute macro will export the function canister_inspect_message
in the canister module.
The function under this attribute must have no return value.
Each canister can only have one canister_inspect_message
entry point.
§Example
#[inspect_message]
fn inspect_message_function() {
// ...
}