#[non_exhaustive]pub enum TcActionTunnelKeyOption {
Tm(Tcf),
Parms(TcTunnelKey),
EncIpv4Src(Ipv4Addr),
EncIpv4Dst(Ipv4Addr),
EncIpv6Src(Ipv6Addr),
EncIpv6Dst(Ipv6Addr),
EncKeyId(u32),
EncDstPort(u16),
EncTos(u8),
EncTtl(u8),
NoCsum(bool),
Other(DefaultNla),
}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.
Tm(Tcf)
Parms(TcTunnelKey)
EncIpv4Src(Ipv4Addr)
EncIpv4Dst(Ipv4Addr)
EncIpv6Src(Ipv6Addr)
EncIpv6Dst(Ipv6Addr)
EncKeyId(u32)
EncDstPort(u16)
EncTos(u8)
EncTtl(u8)
NoCsum(bool)
Other(DefaultNla)
Trait Implementations§
Source§impl Clone for TcActionTunnelKeyOption
impl Clone for TcActionTunnelKeyOption
Source§fn clone(&self) -> TcActionTunnelKeyOption
fn clone(&self) -> TcActionTunnelKeyOption
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 TcActionTunnelKeyOption
impl Debug for TcActionTunnelKeyOption
Source§impl Nla for TcActionTunnelKeyOption
impl Nla for TcActionTunnelKeyOption
Source§impl PartialEq for TcActionTunnelKeyOption
impl PartialEq for TcActionTunnelKeyOption
impl Eq for TcActionTunnelKeyOption
impl StructuralPartialEq for TcActionTunnelKeyOption
Auto Trait Implementations§
impl Freeze for TcActionTunnelKeyOption
impl RefUnwindSafe for TcActionTunnelKeyOption
impl Send for TcActionTunnelKeyOption
impl Sync for TcActionTunnelKeyOption
impl Unpin for TcActionTunnelKeyOption
impl UnwindSafe for TcActionTunnelKeyOption
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