Skip to main content

RemoteActor

Trait RemoteActor 

Source
pub trait RemoteActor
where Self: Actor + Handler<RemoteWrapper>,
{ const ACTOR_ID: &'static str; // Provided method fn register(&mut self, rec: Recipient<RemoteWrapper>) { ... } }

Required Associated Constants§

Source

const ACTOR_ID: &'static str

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl RemoteActor for Connector

Source§

const ACTOR_ID: &'static str = "Connector"