pub enum RtScope {
Universe,
Site,
Link,
Host,
Nowhere,
UnrecognizedConst(c_uchar),
}
Expand description
rtm_scope
The distance between destinations
Variants§
Implementations§
Trait Implementations§
Source§impl Ord for RtScope
impl Ord for RtScope
Source§impl PartialOrd for RtScope
impl PartialOrd for RtScope
Source§impl Size for RtScope
impl Size for RtScope
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 RtScope
impl Eq for RtScope
impl StructuralPartialEq for RtScope
Auto Trait Implementations§
impl Freeze for RtScope
impl RefUnwindSafe for RtScope
impl Send for RtScope
impl Sync for RtScope
impl Unpin for RtScope
impl UnwindSafe for RtScope
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