Enum netlink_packet_route::rtnl::route::nlas::MplsIpTunnel
source · #[non_exhaustive]pub enum MplsIpTunnel {
Destination(Vec<u8>),
Ttl(u8),
Other(DefaultNla),
}
Expand description
Netlink attributes for RTA_ENCAP
with RTA_ENCAP_TYPE
set to
LWTUNNEL_ENCAP_MPLS
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Nla for MplsIpTunnel
impl Nla for MplsIpTunnel
Auto Trait Implementations§
impl RefUnwindSafe for MplsIpTunnel
impl Send for MplsIpTunnel
impl Sync for MplsIpTunnel
impl Unpin for MplsIpTunnel
impl UnwindSafe for MplsIpTunnel
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