#[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
Source§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
const NAME: &'static str = "TableDumpV2Type"
type Primitive = u16
type Error = TryFromPrimitiveError<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§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