Struct connect::Node[][src]

pub struct Node { /* fields omitted */ }

Node represents a machine which is virtually or geographically seperated from other machines in a Cluster.

Methods

impl Node
[src]

Creates a new instance of Node with given ip_addr, client_port and peer_port.

This function returns SocketAddr of client service running on this node.

This function returns SocketAddr of peer service running on this node.

Trait Implementations

impl Debug for Node
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Node

impl Sync for Node