pub enum Rta {
Show 28 variants
Unspec,
Dst,
Src,
Iif,
Oif,
Gateway,
Priority,
Prefsrc,
Metrics,
Multipath,
Protoinfo,
Flow,
Cacheinfo,
Session,
MpAlgo,
Table,
Mark,
MfcStats,
Via,
Newdst,
Pref,
EncapType,
Encap,
Expires,
Pad,
Uid,
TtlPropagate,
UnrecognizedConst(c_ushort),
}
Expand description
Variants§
Unspec
Dst
Src
Iif
Oif
Gateway
Priority
Prefsrc
Metrics
Multipath
Protoinfo
Flow
Cacheinfo
Session
MpAlgo
Table
Mark
MfcStats
Via
Newdst
Pref
EncapType
Encap
Expires
Pad
Uid
TtlPropagate
UnrecognizedConst(c_ushort)
Implementations§
Trait Implementations§
source§impl From<Rta> for RtaTypeWrapper
impl From<Rta> for RtaTypeWrapper
source§impl Ord for Rta
impl Ord for Rta
source§impl PartialOrd<Rta> for Rta
impl PartialOrd<Rta> for Rta
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 Rta
impl Size for Rta
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.