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

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