Enum robots::actors::actor_ref::ActorPath [] [src]

pub enum ActorPath {
    Local(String),
    Distant(ConnectionInfo),
}

Path to an actor.

This enum contains the information for actors whether they are local or distant.

Variants

Logical path to a local actor.

Logical path and connection information for a distant actor.

Methods

impl ActorPath
[src]

[src]

Creates a new local ActorPath variant with the given logical_path.

[src]

Creates a new distant ActorPath.

[src]

Gives a reference to the logical path of an actor.

Note that this gives the local logical path whether the actor is local or not.

[src]

Creates an ActorPath for a child of an actor.

This gives a Local variant, because actors are always created locally.

Trait Implementations

impl Debug for ActorPath
[src]

[src]

Formats the value using the given formatter.

impl Eq for ActorPath
[src]

impl Hash for ActorPath
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for ActorPath
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.