#[repr(u16)]pub enum StatType {
Show 19 variants
PrefixesRejectedByInboundPolicy = 0,
DuplicatePrefixAdvertisements = 1,
DuplicateWithdrawnPrefixes = 2,
UpdatesInvalidatedDueToClusterListLoop = 3,
UpdatesInvalidatedDueToASPathLoop = 4,
UpdatesInvalidatedDueToOriginatorId = 5,
UpdatesInvalidatedDueToASConfedLoop = 6,
RoutesInAdjRibsIn = 7,
RoutesInLocRib = 8,
RoutesInPerAfiSafiAdjRibIn = 9,
RoutesInPerAfiSafiLocRib = 10,
UpdatesSubjectedToTreatAsWithdraw = 11,
PrefixesSubjectedToTreatAsWithdraw = 12,
DuplicateUpdateMessagesReceived = 13,
RoutesInPrePolicyAdjRibOut = 14,
RoutesInPostPolicyAdjRibOut = 15,
RoutesInPerAfiSafiPrePolicyAdjRibOut = 16,
RoutesInPerAfiSafiPostPolicyAdjRibOut = 17,
Other(u16),
}Expand description
Stats counter types enum
Types of BMP statistics are listed here: https://www.iana.org/assignments/bmp-parameters/bmp-parameters.xhtml#statistics-types
Variants§
PrefixesRejectedByInboundPolicy = 0
DuplicatePrefixAdvertisements = 1
DuplicateWithdrawnPrefixes = 2
UpdatesInvalidatedDueToClusterListLoop = 3
UpdatesInvalidatedDueToASPathLoop = 4
UpdatesInvalidatedDueToOriginatorId = 5
UpdatesInvalidatedDueToASConfedLoop = 6
RoutesInAdjRibsIn = 7
RoutesInLocRib = 8
RoutesInPerAfiSafiAdjRibIn = 9
RoutesInPerAfiSafiLocRib = 10
UpdatesSubjectedToTreatAsWithdraw = 11
PrefixesSubjectedToTreatAsWithdraw = 12
DuplicateUpdateMessagesReceived = 13
RoutesInPrePolicyAdjRibOut = 14
RoutesInPostPolicyAdjRibOut = 15
RoutesInPerAfiSafiPrePolicyAdjRibOut = 16
RoutesInPerAfiSafiPostPolicyAdjRibOut = 17
Other(u16)
Trait Implementations§
Source§impl FromPrimitive for StatType
impl FromPrimitive for StatType
impl Copy for StatType
impl StructuralPartialEq for StatType
Auto Trait Implementations§
impl Freeze for StatType
impl RefUnwindSafe for StatType
impl Send for StatType
impl Sync for StatType
impl Unpin for StatType
impl UnwindSafe for StatType
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<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