Enum netlink_packet_route::rtnl::route::nlas::MplsIpTunnel
source · [−]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
Destination(Vec<u8>)
Ttl(u8)
Other(DefaultNla)
Trait Implementations
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more