pub enum Nlmsg {
Noop,
Error,
Done,
Overrun,
UnrecognizedConst(u16),
}
Expand description
Values for nl_type
in Nlmsghdr
Variants§
Implementations§
Trait Implementations§
source§impl From<Nlmsg> for NlTypeWrapper
impl From<Nlmsg> for NlTypeWrapper
source§impl Ord for Nlmsg
impl Ord for Nlmsg
source§impl PartialEq<Nlmsg> for Nlmsg
impl PartialEq<Nlmsg> for Nlmsg
source§impl PartialOrd<Nlmsg> for Nlmsg
impl PartialOrd<Nlmsg> for Nlmsg
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Size for Nlmsg
impl Size for Nlmsg
source§fn unpadded_size(&self) -> usize
fn unpadded_size(&self) -> usize
Size of the unpadded data structure. This will usually
only be unaligned for variable length types like
strings or byte buffers.
source§fn padded_size(&self) -> usize
fn padded_size(&self) -> usize
Get the size of of the payload and align it to
the required netlink byte alignment.