pub enum Rtm {
Show 49 variants
Newlink,
Dellink,
Getlink,
Setlink,
Newaddr,
Deladdr,
Getaddr,
Newroute,
Delroute,
Getroute,
Newneigh,
Delneigh,
Getneigh,
Newrule,
Delrule,
Getrule,
Newqdisc,
Delqdisc,
Getqdisc,
Newtclass,
Deltclass,
Gettclass,
Newtfilter,
Deltfilter,
Gettfilter,
Newaction,
Delaction,
Getaction,
Newprefix,
Getmulticast,
Getanycast,
Newneightbl,
Getneightbl,
Setneightbl,
Newnduseropt,
Newaddrlabel,
Deladdrlabel,
Getaddrlabel,
Getdcb,
Setdcb,
Newnetconf,
Getnetconf,
Newmdb,
Delmdb,
Getmdb,
Newnsid,
Delnsid,
Getnsid,
UnrecognizedConst(u16),
}
Expand description
rtnetlink-related values for nl_type
in
Nlmsghdr
.
Variants§
Newlink
Dellink
Getlink
Setlink
Newaddr
Deladdr
Getaddr
Newroute
Delroute
Getroute
Newneigh
Delneigh
Getneigh
Newrule
Delrule
Getrule
Newqdisc
Delqdisc
Getqdisc
Newtclass
Deltclass
Gettclass
Newtfilter
Deltfilter
Gettfilter
Newaction
Delaction
Getaction
Newprefix
Getmulticast
Getanycast
Newneightbl
Getneightbl
Setneightbl
Newnduseropt
Newaddrlabel
Deladdrlabel
Getaddrlabel
Getdcb
Setdcb
Newnetconf
Getnetconf
Newmdb
Delmdb
Getmdb
Newnsid
Delnsid
Getnsid
UnrecognizedConst(u16)
Implementations§
Trait Implementations§
Source§impl From<Rtm> for NlTypeWrapper
impl From<Rtm> for NlTypeWrapper
Source§impl Ord for Rtm
impl Ord for Rtm
Source§impl PartialOrd for Rtm
impl PartialOrd for Rtm
Source§impl Size for Rtm
impl Size for Rtm
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 Rtm
impl Eq for Rtm
impl NlType for Rtm
impl StructuralPartialEq for Rtm
Auto Trait Implementations§
impl Freeze for Rtm
impl RefUnwindSafe for Rtm
impl Send for Rtm
impl Sync for Rtm
impl Unpin for Rtm
impl UnwindSafe for Rtm
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