Struct robots::actors::actor_ref::ConnectionInfo
[−]
[src]
pub struct ConnectionInfo { /* fields omitted */ }This gives connection informations on how to get to the distant actors.
- The distant_logical_path is something like "/user/distant/actor".
- The addr_port is something like "127.0.0.1:12345"
Note that the storage of the addr_port could be improved, but is not a concern for now.
Methods
impl ConnectionInfo[src]
fn distant_logical_path(&self) -> &String[src]
Distant logical path.
fn addr_port(&self) -> &String[src]
Address and port of the distant actor.
Trait Implementations
impl Debug for ConnectionInfo[src]
impl Eq for ConnectionInfo[src]
impl Hash for ConnectionInfo[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq for ConnectionInfo[src]
fn eq(&self, __arg_0: &ConnectionInfo) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ConnectionInfo) -> bool[src]
This method tests for !=.