pub struct NodeEntry {
pub name: String,
pub port: u16,
pub node_type: NodeType,
pub protocol: TransportProtocol,
pub highest_version: u16,
pub lowest_version: u16,
pub extra: Vec<u8>,
}
Expand description
Entry of a node registered in EPMD.
Fields§
§name: String
Node name.
Note that it differs from NodeName
as this name doesn’t contain the host part.
port: u16
Port number on which this node accepts connection requests.
node_type: NodeType
Node type.
protocol: TransportProtocol
Transport protocol to communicate with this node.
highest_version: u16
Highest distribution protocol version that this node can handle.
lowest_version: u16
Lowest distribution protocol version that this node can handle.
extra: Vec<u8>
Extra field.
Implementations§
Trait Implementations§
source§impl PartialEq<NodeEntry> for NodeEntry
impl PartialEq<NodeEntry> for NodeEntry
impl Eq for NodeEntry
impl StructuralEq for NodeEntry
impl StructuralPartialEq for NodeEntry
Auto Trait Implementations§
impl RefUnwindSafe for NodeEntry
impl Send for NodeEntry
impl Sync for NodeEntry
impl Unpin for NodeEntry
impl UnwindSafe for NodeEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more