Struct netlink_packet_wireguard::Wireguard
source · [−]pub struct Wireguard {
pub cmd: WireguardCmd,
pub nlas: Vec<WgDeviceAttrs>,
}Fields
cmd: WireguardCmdnlas: Vec<WgDeviceAttrs>Trait Implementations
sourceimpl GenlFamily for Wireguard
impl GenlFamily for Wireguard
sourcefn family_name() -> &'static str
fn family_name() -> &'static str
Return the unique family name registered in the kernel Read more
sourceimpl ParseableParametrized<[u8], GenlHeader> for Wireguard
impl ParseableParametrized<[u8], GenlHeader> for Wireguard
sourcefn 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 StructuralEq for Wireguard
impl StructuralPartialEq for Wireguard
Auto Trait Implementations
impl RefUnwindSafe for Wireguard
impl Send for Wireguard
impl Sync for Wireguard
impl Unpin for Wireguard
impl UnwindSafe for Wireguard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more