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 for Rta
impl PartialOrd for Rta
Source§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.
impl Copy for Rta
impl Eq for Rta
impl RtaType for Rta
impl StructuralPartialEq for Rta
Auto Trait Implementations§
impl Freeze for Rta
impl RefUnwindSafe for Rta
impl Send for Rta
impl Sync for Rta
impl Unpin for Rta
impl UnwindSafe for Rta
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