#[non_exhaustive]pub enum RouteSeg6IpTunnel {
Seg6(Seg6Header),
Other(DefaultNla),
}Expand description
Netlink attributes for RTA_ENCAP with RTA_ENCAP_TYPE set to
LWTUNNEL_ENCAP_SEG6.
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.
Seg6(Seg6Header)
Other(DefaultNla)
Trait Implementations§
Source§impl Clone for RouteSeg6IpTunnel
impl Clone for RouteSeg6IpTunnel
Source§fn clone(&self) -> RouteSeg6IpTunnel
fn clone(&self) -> RouteSeg6IpTunnel
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 RouteSeg6IpTunnel
impl Debug for RouteSeg6IpTunnel
Source§impl Nla for RouteSeg6IpTunnel
impl Nla for RouteSeg6IpTunnel
Source§impl PartialEq for RouteSeg6IpTunnel
impl PartialEq for RouteSeg6IpTunnel
impl Eq for RouteSeg6IpTunnel
impl StructuralPartialEq for RouteSeg6IpTunnel
Auto Trait Implementations§
impl Freeze for RouteSeg6IpTunnel
impl RefUnwindSafe for RouteSeg6IpTunnel
impl Send for RouteSeg6IpTunnel
impl Sync for RouteSeg6IpTunnel
impl Unpin for RouteSeg6IpTunnel
impl UnwindSafe for RouteSeg6IpTunnel
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