Skip to main content

RemoteRef

Trait RemoteRef 

Source
pub trait RemoteRef:
    Send
    + Sync
    + Debug {
    // Required methods
    fn path(&self) -> &ActorPath;
    fn tell_serialized(&self, msg: SerializedMessage);
    fn tell_system(&self, msg: RemoteSystemMsg);
}
Expand description

A reference to an actor on a different ActorSystem.

Implementations live in atomr-remote::RemoteActorRefImpl. The trait is object-safe so ActorRef<M> can carry an Arc<dyn RemoteRef> regardless of the user message type.

Required Methods§

Implementors§