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