pub struct WireguardMessage {
pub cmd: WireguardCmd,
pub attributes: Vec<WireguardAttribute>,
}Fields§
§cmd: WireguardCmd§attributes: Vec<WireguardAttribute>Trait Implementations§
Source§impl Clone for WireguardMessage
impl Clone for WireguardMessage
Source§fn clone(&self) -> WireguardMessage
fn clone(&self) -> WireguardMessage
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 WireguardMessage
impl Debug for WireguardMessage
Source§impl Emitable for WireguardMessage
impl Emitable for WireguardMessage
Source§impl GenlFamily for WireguardMessage
impl GenlFamily for WireguardMessage
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 WireguardMessage
impl ParseableParametrized<[u8], GenlHeader> for WireguardMessage
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.
Source§impl PartialEq for WireguardMessage
impl PartialEq for WireguardMessage
impl Eq for WireguardMessage
impl StructuralPartialEq for WireguardMessage
Auto Trait Implementations§
impl Freeze for WireguardMessage
impl RefUnwindSafe for WireguardMessage
impl Send for WireguardMessage
impl Sync for WireguardMessage
impl Unpin for WireguardMessage
impl UnwindSafe for WireguardMessage
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