pub struct IpvsServiceCtrl {
pub cmd: IpvsCtrlCmd,
pub nlas: Vec<IpvsCtrlAttrs>,
pub family_id: u16,
}
Expand description
Payload of generic netlink controller
Fields§
§cmd: IpvsCtrlCmd
Command code of this message
nlas: Vec<IpvsCtrlAttrs>
Netlink attributes in this message
family_id: u16
Implementations§
Trait Implementations§
Source§impl Clone for IpvsServiceCtrl
impl Clone for IpvsServiceCtrl
Source§fn clone(&self) -> IpvsServiceCtrl
fn clone(&self) -> IpvsServiceCtrl
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 IpvsServiceCtrl
impl Debug for IpvsServiceCtrl
Source§impl Emitable for IpvsServiceCtrl
impl Emitable for IpvsServiceCtrl
Source§impl GenlFamily for IpvsServiceCtrl
impl GenlFamily for IpvsServiceCtrl
Source§fn family_name() -> &'static str
fn family_name() -> &'static str
Return the unique family name registered in the kernel Read more
Source§impl<'a> Nlas<'a, IpvsCtrlAttrs> for IpvsServiceCtrl
impl<'a> Nlas<'a, IpvsCtrlAttrs> for IpvsServiceCtrl
fn nlas(&'a self) -> &'a [IpvsCtrlAttrs]
Source§impl ParseableParametrized<[u8], GenlHeader> for IpvsServiceCtrl
impl ParseableParametrized<[u8], GenlHeader> for IpvsServiceCtrl
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 IpvsServiceCtrl
impl PartialEq for IpvsServiceCtrl
impl Eq for IpvsServiceCtrl
impl StructuralPartialEq for IpvsServiceCtrl
Auto Trait Implementations§
impl Freeze for IpvsServiceCtrl
impl RefUnwindSafe for IpvsServiceCtrl
impl Send for IpvsServiceCtrl
impl Sync for IpvsServiceCtrl
impl Unpin for IpvsServiceCtrl
impl UnwindSafe for IpvsServiceCtrl
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