ic_cdk

Attribute Macro 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() {
    // ...
}