Attribute Macros§
- remote
- Attribute macro applies to the
impl Actor for MyActor { ... }block, which overrides theActor::type_erased_recipient_fnused byacktor-ipcwith a custom implementation that convertsAddress<Self>toRecipient<RemoteMessage>first and then erases the type.
Derive Macros§
- Decode
- Derive the
Decodetrait for a message. - Encode
- Derive the
Encodetrait for a message. - Message
- Derive the
Messagetrait for a struct or enum. - Message
Response - Derive the
MessageResponsetrait for a struct or enum. - Remote
Actor - Derive the
RemoteActortrait for an actor.