#[repr(u16)]pub enum PeerUpTlvType {
String = 0,
SysDescr = 1,
SysName = 2,
VrTableName = 3,
AdminLabel = 4,
Unknown(u16),
}Expand description
BMP Peer Up Message TLV Type
https://www.iana.org/assignments/bmp-parameters/bmp-parameters.xhtml#peer-up-message-tlvs
RFC 9736 created an independent namespace for Peer Up Information TLVs, separate from the Initiation message namespace. Per the new registry, types 1, 2, and 65535 are reserved. The SysDescr and SysName variants are retained for backward compatibility with pre-RFC 9736 implementations.
Variants§
String = 0
SysDescr = 1
Reserved per RFC 9736, retained for backward compatibility.
SysName = 2
Reserved per RFC 9736, retained for backward compatibility.
VrTableName = 3
AdminLabel = 4
Unknown(u16)
Trait Implementations§
Source§impl Clone for PeerUpTlvType
impl Clone for PeerUpTlvType
Source§fn clone(&self) -> PeerUpTlvType
fn clone(&self) -> PeerUpTlvType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PeerUpTlvType
impl Debug for PeerUpTlvType
Source§impl From<PeerUpTlvType> for u16
impl From<PeerUpTlvType> for u16
Source§fn from(enum_value: PeerUpTlvType) -> Self
fn from(enum_value: PeerUpTlvType) -> Self
Converts to this type from the input type.
Source§impl From<u16> for PeerUpTlvType
impl From<u16> for PeerUpTlvType
Source§impl FromPrimitive for PeerUpTlvType
impl FromPrimitive for PeerUpTlvType
Source§impl PartialEq for PeerUpTlvType
impl PartialEq for PeerUpTlvType
Source§fn eq(&self, other: &PeerUpTlvType) -> bool
fn eq(&self, other: &PeerUpTlvType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PeerUpTlvType
impl StructuralPartialEq for PeerUpTlvType
Auto Trait Implementations§
impl Freeze for PeerUpTlvType
impl RefUnwindSafe for PeerUpTlvType
impl Send for PeerUpTlvType
impl Sync for PeerUpTlvType
impl Unpin for PeerUpTlvType
impl UnsafeUnpin for PeerUpTlvType
impl UnwindSafe for PeerUpTlvType
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