[][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

#[message(result = "i32")]
struct TestMessage(i32);