pub trait RemoteProvider: Send + Sync {
// Required methods
fn local_address(&self) -> &Address;
fn resolve(&self, path: &ActorPath) -> Option<Arc<dyn RemoteRef>>;
}Expand description
Pluggable resolver: given a fully-qualified ActorPath, return a remote
handle that can deliver to it. Installed on the ActorSystem by
atomr-remote::RemoteActorRefProvider::install.
Required Methods§
fn local_address(&self) -> &Address
fn resolve(&self, path: &ActorPath) -> Option<Arc<dyn RemoteRef>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".