#[derive(Addressable)]
{
    // Attributes available to this derive:
    #[address]
}
Expand description

Description

This macro can be used to derive zestors::process::Addressable. This means that you can now directly call methods like .msg() or .req() on this address.

It can only be used in combination with [#derive(Address)], and should be used on the struct definition of the actor, not on the struct definition of the address.

/// ## Example

#[derive(Address, Addressable)]
struct MyActor {
    ...
}