ClusterKey

Trait ClusterKey 

Source
pub trait ClusterKey:
    Clone
    + Ord
    + Hash
    + Send
    + Serialize
    + DeserializeOwned
    + 'static {
    // Required method
    fn id(&self) -> ActorId;
}

Required Methods§

Source

fn id(&self) -> ActorId

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.

Implementations on Foreign Types§

Source§

impl ClusterKey for ActorId

Source§

fn id(&self) -> ActorId

Source§

impl<A> ClusterKey for RemoteActorRef<A>
where A: Actor + RemoteActor,

Source§

fn id(&self) -> ActorId

Implementors§