#[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<'a, T: AsRef<[u8]> + ?Sized> Parseable<NlaBuffer<&'a T>> for RouteMetric
impl<'a, T: AsRef<[u8]> + ?Sized> Parseable<NlaBuffer<&'a T>> for RouteMetric
type Error = RouteError
Source§impl PartialEq for RouteMetric
impl PartialEq for RouteMetric
impl Eq for RouteMetric
impl StructuralPartialEq for RouteMetric
Auto Trait Implementations§
impl Freeze for RouteMetric
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)