pub struct Wireguard {
pub cmd: WireguardCmd,
pub nlas: Vec<WgDeviceAttrs>,
}Fields§
§cmd: WireguardCmd§nlas: Vec<WgDeviceAttrs>Trait Implementations§
Source§impl GenlFamily for Wireguard
impl GenlFamily for Wireguard
Source§fn family_name() -> &'static str
fn family_name() -> &'static str
Return the unique family name registered in the kernel Read more
Source§impl ParseableParametrized<[u8], GenlHeader> for Wireguard
impl ParseableParametrized<[u8], GenlHeader> for Wireguard
Source§fn parse_with_param(buf: &[u8], header: GenlHeader) -> Result<Self, DecodeError>
fn parse_with_param(buf: &[u8], header: GenlHeader) -> Result<Self, DecodeError>
Deserialize the current type.
impl Eq for Wireguard
impl StructuralPartialEq for Wireguard
Auto Trait Implementations§
impl Freeze for Wireguard
impl RefUnwindSafe for Wireguard
impl Send for Wireguard
impl Sync for Wireguard
impl Unpin for Wireguard
impl UnwindSafe for Wireguard
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