Struct dpt::DPTNode
[−]
[src]
pub struct DPTNode { pub address: IpAddr, pub tcp_port: u16, pub udp_port: u16, pub id: H512, }
DPT node used by a DPT stream
Fields
address: IpAddr
tcp_port: u16
udp_port: u16
id: H512
Methods
impl DPTNode
[src]
fn tcp_addr(&self) -> SocketAddr
The TCP socket address of this node
fn udp_addr(&self) -> SocketAddr
The UDP socket address of this node
Trait Implementations
impl Debug for DPTNode
[src]
impl Clone for DPTNode
[src]
fn clone(&self) -> DPTNode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more