pub trait NlmsgHeader: Sized {
// Required methods
fn len(&self) -> Result<usize>;
fn set_len(&mut self, len: usize) -> Result<()>;
}
👎Deprecated: beta features are subject to change at any time
Expand description
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§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.