Struct wgctrl_sys::wg_device [−][src]
#[repr(C)]pub struct wg_device { pub name: [c_char; 16], pub ifindex: u32, pub flags: wg_device_flags, pub public_key: wg_key, pub private_key: wg_key, pub fwmark: u32, pub listen_port: u16, pub first_peer: *mut wg_peer, pub last_peer: *mut wg_peer, }
Fields
name: [c_char; 16]
ifindex: u32
flags: wg_device_flags
public_key: wg_key
private_key: wg_key
fwmark: u32
listen_port: u16
first_peer: *mut wg_peer
last_peer: *mut wg_peer
Trait Implementations
impl Debug for wg_device
[src]
impl Debug for wg_device
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for wg_device
[src]
impl Copy for wg_device
impl Clone for wg_device
[src]
impl Clone for wg_device