Enum bgpkit_parser::models::TableDumpV2Type
source · #[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§fn eq(&self, other: &TableDumpV2Type) -> bool
fn eq(&self, other: &TableDumpV2Type) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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<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.