pub enum Rtn {
Show 13 variants
Unspec,
Unicast,
Local,
Broadcast,
Anycast,
Multicast,
Blackhole,
Unreachable,
Prohibit,
Throw,
Nat,
Xresolve,
UnrecognizedConst(c_uchar),
}
Expand description
rtm_type
The results of a lookup from a route table
Variants§
Unspec
Unicast
Local
Broadcast
Anycast
Multicast
Blackhole
Unreachable
Prohibit
Throw
Nat
Xresolve
UnrecognizedConst(c_uchar)
Implementations§
Trait Implementations§
Source§impl Ord for Rtn
impl Ord for Rtn
Source§impl PartialOrd for Rtn
impl PartialOrd for Rtn
Source§impl Size for Rtn
impl Size for Rtn
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 Rtn
impl Eq for Rtn
impl StructuralPartialEq for Rtn
Auto Trait Implementations§
impl Freeze for Rtn
impl RefUnwindSafe for Rtn
impl Send for Rtn
impl Sync for Rtn
impl Unpin for Rtn
impl UnwindSafe for Rtn
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