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 PartialOrd for Nlmsg
impl PartialOrd for Nlmsg
Source§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.
impl Copy for Nlmsg
impl Eq for Nlmsg
impl NlType for Nlmsg
impl StructuralPartialEq for Nlmsg
Auto Trait Implementations§
impl Freeze for Nlmsg
impl RefUnwindSafe for Nlmsg
impl Send for Nlmsg
impl Sync for Nlmsg
impl Unpin for Nlmsg
impl UnwindSafe for Nlmsg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more