[][src]Attribute Macro xactor::message

#[message]

Implement an xactor message type.

The return value type defaults to (), and you can specify the type with the result parameter.

Examples

This example is not tested
#[message(result = "i32")]
struct TestMessage(i32);