#[repr(u8)]pub enum BgpCapabilityType {
Show 18 variants
MULTIPROTOCOL_EXTENSIONS_FOR_BGP_4 = 1,
ROUTE_REFRESH_CAPABILITY_FOR_BGP_4 = 2,
OUTBOUND_ROUTE_FILTERING_CAPABILITY = 3,
EXTENDED_NEXT_HOP_ENCODING = 5,
BGP_EXTENDED_MESSAGE = 6,
BGPSEC_CAPABILITY = 7,
MULTIPLE_LABELS_CAPABILITY = 8,
BGP_ROLE = 9,
GRACEFUL_RESTART_CAPABILITY = 64,
SUPPORT_FOR_4_OCTET_AS_NUMBER_CAPABILITY = 65,
SUPPORT_FOR_DYNAMIC_CAPABILITY = 67,
MULTISESSION_BGP_CAPABILITY = 68,
ADD_PATH_CAPABILITY = 69,
ENHANCED_ROUTE_REFRESH_CAPABILITY = 70,
LONG_LIVED_GRACEFUL_RESTART_CAPABILITY = 71,
ROUTING_POLICY_DISTRIBUTION = 72,
FQDN_CAPABILITY = 73,
Unknown(u8),
}
Variants§
MULTIPROTOCOL_EXTENSIONS_FOR_BGP_4 = 1
ROUTE_REFRESH_CAPABILITY_FOR_BGP_4 = 2
OUTBOUND_ROUTE_FILTERING_CAPABILITY = 3
EXTENDED_NEXT_HOP_ENCODING = 5
BGP_EXTENDED_MESSAGE = 6
BGPSEC_CAPABILITY = 7
MULTIPLE_LABELS_CAPABILITY = 8
BGP_ROLE = 9
GRACEFUL_RESTART_CAPABILITY = 64
SUPPORT_FOR_4_OCTET_AS_NUMBER_CAPABILITY = 65
SUPPORT_FOR_DYNAMIC_CAPABILITY = 67
MULTISESSION_BGP_CAPABILITY = 68
ADD_PATH_CAPABILITY = 69
ENHANCED_ROUTE_REFRESH_CAPABILITY = 70
LONG_LIVED_GRACEFUL_RESTART_CAPABILITY = 71
ROUTING_POLICY_DISTRIBUTION = 72
FQDN_CAPABILITY = 73
Unknown(u8)
Catch-all type for any deprecated, unassigned, or reserved codes
Implementations§
source§impl BgpCapabilityType
impl BgpCapabilityType
pub const fn is_deprecated(&self) -> bool
pub const fn is_reserved(&self) -> bool
pub const fn is_reserved_for_experimental_use(&self) -> bool
Trait Implementations§
source§impl Clone for BgpCapabilityType
impl Clone for BgpCapabilityType
source§fn clone(&self) -> BgpCapabilityType
fn clone(&self) -> BgpCapabilityType
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 BgpCapabilityType
impl Debug for BgpCapabilityType
source§impl From<BgpCapabilityType> for u8
impl From<BgpCapabilityType> for u8
source§fn from(enum_value: BgpCapabilityType) -> Self
fn from(enum_value: BgpCapabilityType) -> Self
Converts to this type from the input type.
source§impl From<u8> for BgpCapabilityType
impl From<u8> for BgpCapabilityType
source§impl FromPrimitive for BgpCapabilityType
impl FromPrimitive for BgpCapabilityType
source§impl Hash for BgpCapabilityType
impl Hash for BgpCapabilityType
source§impl PartialEq for BgpCapabilityType
impl PartialEq for BgpCapabilityType
impl Copy for BgpCapabilityType
impl Eq for BgpCapabilityType
impl StructuralPartialEq for BgpCapabilityType
Auto Trait Implementations§
impl Freeze for BgpCapabilityType
impl RefUnwindSafe for BgpCapabilityType
impl Send for BgpCapabilityType
impl Sync for BgpCapabilityType
impl Unpin for BgpCapabilityType
impl UnwindSafe for BgpCapabilityType
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