#[repr(u16)]pub enum TableDumpV2Type {
PeerIndexTable = 1,
RibIpv4Unicast = 2,
RibIpv4Multicast = 3,
RibIpv6Unicast = 4,
RibIpv6Multicast = 5,
RibGeneric = 6,
GeoPeerTable = 7,
RibIpv4UnicastAddPath = 8,
RibIpv4MulticastAddPath = 9,
RibIpv6UnicastAddPath = 10,
RibIpv6MulticastAddPath = 11,
RibGenericAddPath = 12,
}
Expand description
TableDump version 2 subtypes.
https://www.iana.org/assignments/mrt/mrt.xhtml#subtype-codes
Variants§
PeerIndexTable = 1
RibIpv4Unicast = 2
RibIpv4Multicast = 3
RibIpv6Unicast = 4
RibIpv6Multicast = 5
RibGeneric = 6
GeoPeerTable = 7
RibIpv4UnicastAddPath = 8
RibIpv4MulticastAddPath = 9
RibIpv6UnicastAddPath = 10
RibIpv6MulticastAddPath = 11
RibGenericAddPath = 12
Trait Implementations§
source§impl Clone for TableDumpV2Type
impl Clone for TableDumpV2Type
source§fn clone(&self) -> TableDumpV2Type
fn clone(&self) -> TableDumpV2Type
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 TableDumpV2Type
impl Debug for TableDumpV2Type
source§impl From<TableDumpV2Type> for u16
impl From<TableDumpV2Type> for u16
source§fn from(enum_value: TableDumpV2Type) -> Self
fn from(enum_value: TableDumpV2Type) -> Self
Converts to this type from the input type.
source§impl Hash for TableDumpV2Type
impl Hash for TableDumpV2Type
source§impl PartialEq for TableDumpV2Type
impl PartialEq for TableDumpV2Type
source§impl TryFrom<u16> for TableDumpV2Type
impl TryFrom<u16> for TableDumpV2Type
§type Error = TryFromPrimitiveError<TableDumpV2Type>
type Error = TryFromPrimitiveError<TableDumpV2Type>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for TableDumpV2Type
impl TryFromPrimitive for TableDumpV2Type
type Primitive = u16
type Error = TryFromPrimitiveError<TableDumpV2Type>
const NAME: &'static str = "TableDumpV2Type"
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for TableDumpV2Type
impl Eq for TableDumpV2Type
impl StructuralPartialEq for TableDumpV2Type
Auto Trait Implementations§
impl Freeze for TableDumpV2Type
impl RefUnwindSafe for TableDumpV2Type
impl Send for TableDumpV2Type
impl Sync for TableDumpV2Type
impl Unpin for TableDumpV2Type
impl UnwindSafe for TableDumpV2Type
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more