#[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§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<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