pub enum RtTable {
Unspec,
Compat,
Default,
Main,
Local,
UnrecognizedConst(c_uchar),
}
Expand description
rt_class_t
Reserved route table identifiers
Variants§
Implementations§
Trait Implementations§
Source§impl Ord for RtTable
impl Ord for RtTable
Source§impl PartialOrd for RtTable
impl PartialOrd for RtTable
Source§impl Size for RtTable
impl Size for RtTable
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 RtTable
impl Eq for RtTable
impl StructuralPartialEq for RtTable
Auto Trait Implementations§
impl Freeze for RtTable
impl RefUnwindSafe for RtTable
impl Send for RtTable
impl Sync for RtTable
impl Unpin for RtTable
impl UnwindSafe for RtTable
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