pub struct GenlCtrl {
pub cmd: GenlCtrlCmd,
pub nlas: Vec<GenlCtrlAttrs>,
}
Expand description
Payload of generic netlink controller
Fields§
§cmd: GenlCtrlCmd
Command code of this message
nlas: Vec<GenlCtrlAttrs>
Netlink attributes in this message
Trait Implementations§
Source§impl GenlFamily for GenlCtrl
impl GenlFamily for GenlCtrl
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 GenlCtrl
impl ParseableParametrized<[u8], GenlHeader> for GenlCtrl
type Error = DecodeError
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 GenlCtrl
impl StructuralPartialEq for GenlCtrl
Auto Trait Implementations§
impl Freeze for GenlCtrl
impl RefUnwindSafe for GenlCtrl
impl Send for GenlCtrl
impl Sync for GenlCtrl
impl Unpin for GenlCtrl
impl UnwindSafe for GenlCtrl
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)