Struct neli::genlhdr::GenlHdr [] [src]

pub struct GenlHdr<C> {
    pub cmd: C,
    pub version: u8,
    // some fields omitted
}

Struct representing generic netlink header and payload

Fields

Generic netlink message command

Version of generic netlink family protocol

Methods

impl<C> GenlHdr<C> where
    C: From<u8> + Into<u8>, 
[src]

[src]

Create new generic netlink packet

[src]

Get handle for attribute parsing and traversal

Trait Implementations

impl<C: Debug> Debug for GenlHdr<C>
[src]

[src]

Formats the value using the given formatter. Read more

impl<C: PartialEq> PartialEq for GenlHdr<C>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<C> Nl for GenlHdr<C> where
    C: Nl + From<u8> + Into<u8>, 
[src]

Serialization input type for stateful serialization - set to () for stateless serialization Read more

Deserialization input type for stateful deserialization - set to () for stateless deserialization Read more

[src]

Serialization method

[src]

Stateless deserialization method

[src]

The size of the binary representation of a struct - not aligned to word size

[src]

Serialization method

[src]

Stateful deserialization method

[src]

The size of the binary representation of a struct - aligned to word size

Auto Trait Implementations

impl<C> Send for GenlHdr<C> where
    C: Send

impl<C> Sync for GenlHdr<C> where
    C: Sync