Struct ntcore_sys::NT_ConnectionInfo
[−]
[src]
#[repr(C)]pub struct NT_ConnectionInfo { pub remote_id: NT_String, pub remote_ip: NT_String, pub remote_port: c_uint, pub last_update: u64, pub protocol_version: c_uint, }
NetworkTables Connection Information
Fields
remote_id: NT_String
The remote identifier (as set on the remote node by NetworkTableInstance::SetNetworkIdentity() or nt::SetNetworkIdentity()).
remote_ip: NT_String
The IP address of the remote node.
remote_port: c_uint
The port number of the remote node.
last_update: u64
The last time any update was received from the remote node (same scale as returned by nt::Now()).
protocol_version: c_uint
The protocol version being used for this connection. This in protocol layer format, so 0x0200 = 2.0, 0x0300 = 3.0).
Trait Implementations
impl Debug for NT_ConnectionInfo
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for NT_ConnectionInfo
[src]
impl Clone for NT_ConnectionInfo
[src]
fn clone(&self) -> NT_ConnectionInfo
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more