Struct netlink_packet_generic::ctrl::GenlCtrl
source · [−]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
sourceimpl GenlFamily for GenlCtrl
impl GenlFamily for GenlCtrl
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 GenlCtrl
impl ParseableParametrized<[u8], GenlHeader> for GenlCtrl
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 GenlCtrl
impl StructuralEq for GenlCtrl
impl StructuralPartialEq for GenlCtrl
Auto Trait Implementations
impl RefUnwindSafe for GenlCtrl
impl Send for GenlCtrl
impl Sync for GenlCtrl
impl Unpin for GenlCtrl
impl UnwindSafe for GenlCtrl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more