#[repr(C)]pub struct zts_node_info_t {
pub node_id: u64,
pub port_primary: u16,
pub port_secondary: u16,
pub port_tertiary: u16,
pub ver_major: u8,
pub ver_minor: u8,
pub ver_rev: u8,
}Expand description
Runtime details about the current node
Fields§
§node_id: u64Node ID
port_primary: u16Port used by ZeroTier to send and receive traffic
port_secondary: u16Port used by ZeroTier to send and receive traffic
port_tertiary: u16Port used by ZeroTier to send and receive traffic
ver_major: u8ZT Major version
ver_minor: u8ZT Minor version
ver_rev: u8ZT Patch revision
Trait Implementations§
Source§impl Clone for zts_node_info_t
impl Clone for zts_node_info_t
Source§fn clone(&self) -> zts_node_info_t
fn clone(&self) -> zts_node_info_t
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for zts_node_info_t
impl Debug for zts_node_info_t
impl Copy for zts_node_info_t
Auto Trait Implementations§
impl Freeze for zts_node_info_t
impl RefUnwindSafe for zts_node_info_t
impl Send for zts_node_info_t
impl Sync for zts_node_info_t
impl Unpin for zts_node_info_t
impl UnwindSafe for zts_node_info_t
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