Struct erl_dist::epmd::NodeInfo [] [src]

pub struct NodeInfo {
    pub name: String,
    pub port: u16,
    pub node_type: NodeType,
    pub protocol: Protocol,
    pub highest_version: u16,
    pub lowest_version: u16,
    pub extra: Vec<u8>,
}

Information on a distributed node that registered in the EPMD.

Fields

The node name.

The port number on which the node accept connection requests.

The node type.

The protocol for communicating with the node.

The highest distribution version that this node can handle.

The value in Erlang/OTP R6B and later is 5.

The lowest distribution version that this node can handle.

The value in Erlang/OTP R6B and later is 5.

Extra field.

Methods

impl NodeInfo
[src]

Makes a new NodeInfo with the default parameters.

This is equivalent to the following code:

NodeInfo {
    name: name.to_string(),
    port: port,
    node_type: NodeType::Normal,
    protocol: Protocol::TcpIpV4,
    highest_version: 5,
    lowest_version: 5,
    extra: Vec::new(),
}

Sets the node type of this NodeInfo to Hidden.

Trait Implementations

impl Debug for NodeInfo
[src]

Formats the value using the given formatter.

impl Clone for NodeInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more