[−][src]Trait uapi::NlmsgHeader
👎 Deprecated:
beta features are subject to change at any time
The general shape of a header of a netlink message
Note that this is not the same as c::nlmsghdr.
See also the crate documentation.
Required methods
pub fn len(&self) -> Result<usize>
[src]
👎 Deprecated:
beta features are subject to change at any time
Returns the length of the padded header + payload
This function returns an error if the length cannot be converted to usize
without truncation.
pub fn set_len(&mut self, len: usize) -> Result<()>
[src]
👎 Deprecated:
beta features are subject to change at any time
Sets the length of the padded header + payload
This function returns an error if the length cannot be converted to the internal length type without truncation.