#[non_exhaustive]pub enum MetaKey {
Show 38 variants
Length,
EtherTypeProtocol,
Priority,
Mark,
Iif,
Oif,
Iifname,
Oifname,
Iftype,
Oiftype,
SocketUserId,
SocketGroupId,
NftraceBit,
Rtclassid,
Secmark,
Nfproto,
L4Proto,
BriIifname,
BriOifname,
PacketType,
Cpu,
Iifgroup,
Oifgroup,
Cgroup,
PseudoRandom,
Secpath,
Iifkind,
Oifkind,
BriIifpvid,
BriIifvproto,
TimeNs,
TimeDay,
TimeHour,
Sdif,
Sdifname,
BriBroute,
BriIifhwaddr,
Other(u32),
}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.
Length
EtherTypeProtocol
Priority
Mark
Iif
Packet input interface index
Oif
Packet output interface index
Iifname
Packet input interface name
Oifname
Packet output interface name
Iftype
Packet input interface type
Oiftype
Packet output interface type
SocketUserId
SocketGroupId
NftraceBit
Rtclassid
Realm value of packet’s route (skb->dst->tclassid)
Secmark
Nfproto
L4Proto
Layer 4 protocol number
BriIifname
Packet input bridge interface name
BriOifname
Packet output bridge interface name
PacketType
Cpu
Iifgroup
Oifgroup
Cgroup
Socket control group
PseudoRandom
A 32bit pseudo-random number
Secpath
Iifkind
Oifkind
BriIifpvid
BriIifvproto
TimeNs
TimeDay
TimeHour
Sdif
Slave device interface index
Sdifname
Slave device interface name
BriBroute
BriIifhwaddr
Packet input bridge interface ethernet address
Other(u32)
Trait Implementations§
impl Copy for MetaKey
impl Eq for MetaKey
impl StructuralPartialEq for MetaKey
Auto Trait Implementations§
impl Freeze for MetaKey
impl RefUnwindSafe for MetaKey
impl Send for MetaKey
impl Sync for MetaKey
impl Unpin for MetaKey
impl UnsafeUnpin for MetaKey
impl UnwindSafe for MetaKey
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