Enum netlink_packet_route::route::RouteMetric
source · #[non_exhaustive]pub enum RouteMetric {
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Lock(u32)
Mtu(u32)
Window(u32)
Rtt(u32)
RttVar(u32)
SsThresh(u32)
Cwnd(u32)
Advmss(u32)
Reordering(u32)
Hoplimit(u32)
InitCwnd(u32)
Features(u32)
RtoMin(u32)
InitRwnd(u32)
QuickAck(u32)
CcAlgo(u32)
FastopenNoCookie(u32)
Other(DefaultNla)
Trait Implementations§
source§impl Clone for RouteMetric
impl Clone for RouteMetric
source§fn clone(&self) -> RouteMetric
fn clone(&self) -> RouteMetric
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RouteMetric
impl Debug for RouteMetric
source§impl Nla for RouteMetric
impl Nla for RouteMetric
source§impl PartialEq for RouteMetric
impl PartialEq for RouteMetric
source§fn eq(&self, other: &RouteMetric) -> bool
fn eq(&self, other: &RouteMetric) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RouteMetric
impl StructuralEq for RouteMetric
impl StructuralPartialEq for RouteMetric
Auto Trait Implementations§
impl RefUnwindSafe for RouteMetric
impl Send for RouteMetric
impl Sync for RouteMetric
impl Unpin for RouteMetric
impl UnwindSafe for RouteMetric
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