Expand description
Interface for uniquely identifying actors. Mainly useful for logging and debugging.
This is separate from Address
because an Address
implementer might want
to show id/name in a Debug impl, but AddressM
for which the actor implements Handler. M
is the generic message type. That causes issues.
This trait allows for identity information to available in places where no M is available.
Required Methods
Get a unique identifier for this actor. You can use this to verify whether two addresss deliver to the same actor.