#[repr(u16)]pub enum SubTlvType {
Show 23 variants
Reserved = 0,
Encapsulation = 1,
ProtocolType = 2,
IpsecTunnelAuthenticator = 3,
Color = 4,
LoadBalancingBlock = 5,
TunnelEgressEndpoint = 6,
DsField = 7,
UdpDestinationPort = 8,
EmbeddedLabelHandling = 9,
MplsLabelStack = 10,
PrefixSid = 11,
Preference = 12,
BindingSid = 13,
Enlp = 14,
Priority = 15,
SpiSiRepresentation = 16,
Ipv6SidStructure = 17,
Ipv4Sid = 18,
Ipv6Sid = 19,
Srv6BindingSid = 20,
SegmentList = 128,
PolicyCandidatePathName = 129,
}Expand description
BGP Tunnel Encapsulation Sub-TLV Types
Variants§
Reserved = 0
Encapsulation = 1
Encapsulation Sub-TLV
ProtocolType = 2
Protocol Type Sub-TLV
IpsecTunnelAuthenticator = 3
IPsec Tunnel Authenticator Sub-TLV (DEPRECATED)
Color = 4
Color Sub-TLV
LoadBalancingBlock = 5
Load-Balancing Block Sub-TLV
TunnelEgressEndpoint = 6
Tunnel Egress Endpoint Sub-TLV
DsField = 7
DS Field Sub-TLV
UdpDestinationPort = 8
UDP Destination Port Sub-TLV
EmbeddedLabelHandling = 9
Embedded Label Handling Sub-TLV
MplsLabelStack = 10
MPLS Label Stack Sub-TLV
PrefixSid = 11
Prefix-SID Sub-TLV
Preference = 12
Preference Sub-TLV
BindingSid = 13
Binding SID Sub-TLV
Enlp = 14
ENLP Sub-TLV
Priority = 15
Priority Sub-TLV
SpiSiRepresentation = 16
SPI/SI Representation Sub-TLV
Ipv6SidStructure = 17
IPv6 SID Structure Sub-TLV
Ipv4Sid = 18
IPv4 SID Sub-TLV
Ipv6Sid = 19
IPv6 SID Sub-TLV
Srv6BindingSid = 20
SRv6 Binding SID Sub-TLV
SegmentList = 128
Segment List Sub-TLV
PolicyCandidatePathName = 129
Policy Candidate Path Name Sub-TLV
Trait Implementations§
Source§impl Clone for SubTlvType
impl Clone for SubTlvType
Source§fn clone(&self) -> SubTlvType
fn clone(&self) -> SubTlvType
Returns a duplicate 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 SubTlvType
impl Debug for SubTlvType
Source§impl From<SubTlvType> for u16
impl From<SubTlvType> for u16
Source§fn from(enum_value: SubTlvType) -> Self
fn from(enum_value: SubTlvType) -> Self
Converts to this type from the input type.
Source§impl From<u16> for SubTlvType
impl From<u16> for SubTlvType
Source§impl FromPrimitive for SubTlvType
impl FromPrimitive for SubTlvType
Source§impl Hash for SubTlvType
impl Hash for SubTlvType
Source§impl PartialEq for SubTlvType
impl PartialEq for SubTlvType
impl Copy for SubTlvType
impl Eq for SubTlvType
impl StructuralPartialEq for SubTlvType
Auto Trait Implementations§
impl Freeze for SubTlvType
impl RefUnwindSafe for SubTlvType
impl Send for SubTlvType
impl Sync for SubTlvType
impl Unpin for SubTlvType
impl UnwindSafe for SubTlvType
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<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