pub enum WgDeviceAttrs {
Unspec(Vec<u8>),
IfIndex(u32),
IfName(String),
PrivateKey([u8; 32]),
PublicKey([u8; 32]),
ListenPort(u16),
Fwmark(u32),
Peers(Vec<WgPeer>),
Flags(u32),
}Variants§
Unspec(Vec<u8>)
IfIndex(u32)
IfName(String)
PrivateKey([u8; 32])
PublicKey([u8; 32])
ListenPort(u16)
Fwmark(u32)
Peers(Vec<WgPeer>)
Flags(u32)
Trait Implementations§
Source§impl Clone for WgDeviceAttrs
impl Clone for WgDeviceAttrs
Source§fn clone(&self) -> WgDeviceAttrs
fn clone(&self) -> WgDeviceAttrs
Returns a duplicate 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 WgDeviceAttrs
impl Debug for WgDeviceAttrs
Source§impl Nla for WgDeviceAttrs
impl Nla for WgDeviceAttrs
Source§impl PartialEq for WgDeviceAttrs
impl PartialEq for WgDeviceAttrs
impl Eq for WgDeviceAttrs
impl StructuralPartialEq for WgDeviceAttrs
Auto Trait Implementations§
impl Freeze for WgDeviceAttrs
impl RefUnwindSafe for WgDeviceAttrs
impl Send for WgDeviceAttrs
impl Sync for WgDeviceAttrs
impl Unpin for WgDeviceAttrs
impl UnwindSafe for WgDeviceAttrs
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