#[repr(u16)]pub enum PeerUpTlvType {
String = 0,
SysDescr = 1,
SysName = 2,
VrTableName = 3,
AdminLabel = 4,
}Expand description
Type-Length-Value Type
https://www.iana.org/assignments/bmp-parameters/bmp-parameters.xhtml#initiation-peer-up-tlvs
Variants§
Trait Implementations§
Source§impl Clone for PeerUpTlvType
impl Clone for PeerUpTlvType
Source§fn clone(&self) -> PeerUpTlvType
fn clone(&self) -> PeerUpTlvType
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 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 PartialEq for PeerUpTlvType
impl PartialEq for PeerUpTlvType
Source§impl TryFrom<u16> for PeerUpTlvType
impl TryFrom<u16> for PeerUpTlvType
Source§type Error = TryFromPrimitiveError<PeerUpTlvType>
type Error = TryFromPrimitiveError<PeerUpTlvType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for PeerUpTlvType
impl TryFromPrimitive for PeerUpTlvType
const NAME: &'static str = "PeerUpTlvType"
type Primitive = u16
type Error = TryFromPrimitiveError<PeerUpTlvType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
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 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