[][src]Trait uapi::NlmsgHeaderExt

pub trait NlmsgHeaderExt: NlmsgHeader + Sealed {
    pub fn read<'a>(buf: &mut &'a [u8]) -> Result<(usize, Self, &'a [u8])>
    where
        Self: Pod
, { ... } }
👎 Deprecated:

beta features are subject to change at any time

Extension trait for netlink message headers

See also the crate documentation.

Provided methods

pub fn read<'a>(buf: &mut &'a [u8]) -> Result<(usize, Self, &'a [u8])> where
    Self: Pod
[src]

👎 Deprecated:

beta features are subject to change at any time

Reads a header plus payload from a netlink message

Returns the space consumed, the header, and the payload.

Loading content...

Implementors

impl<T: NlmsgHeader> NlmsgHeaderExt for T[src]

Loading content...