#[non_exhaustive]#[repr(u32)]pub enum PT_ENUMFLAGS32_bpf_commands {
Show 37 variants
BPF_MAP_CREATE,
BPF_MAP_LOOKUP_ELEM,
BPF_MAP_UPDATE_ELEM,
BPF_MAP_DELETE_ELEM,
BPF_MAP_GET_NEXT_KEY,
BPF_PROG_LOAD,
BPF_OBJ_PIN,
BPF_OBJ_GET,
BPF_PROG_ATTACH,
BPF_PROG_DETACH,
BPF_PROG_RUN,
BPF_PROG_GET_NEXT_ID,
BPF_MAP_GET_NEXT_ID,
BPF_PROG_GET_FD_BY_ID,
BPF_MAP_GET_FD_BY_ID,
BPF_OBJ_GET_INFO_BY_FD,
BPF_PROG_QUERY,
BPF_RAW_TRACEPOINT_OPEN,
BPF_BTF_LOAD,
BPF_BTF_GET_FD_BY_ID,
BPF_TASK_FD_QUERY,
BPF_MAP_LOOKUP_AND_DELETE_ELEM,
BPF_MAP_FREEZE,
BPF_BTF_GET_NEXT_ID,
BPF_MAP_LOOKUP_BATCH,
BPF_MAP_LOOKUP_AND_DELETE_BATCH,
BPF_MAP_UPDATE_BATCH,
BPF_MAP_DELETE_BATCH,
BPF_LINK_CREATE,
BPF_LINK_UPDATE,
BPF_LINK_GET_FD_BY_ID,
BPF_LINK_GET_NEXT_ID,
BPF_ENABLE_STATS,
BPF_ITER_CREATE,
BPF_LINK_DETACH,
BPF_PROG_BIND_MAP,
Unknown(usize),
}
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.
BPF_MAP_CREATE
BPF_MAP_LOOKUP_ELEM
BPF_MAP_UPDATE_ELEM
BPF_MAP_DELETE_ELEM
BPF_MAP_GET_NEXT_KEY
BPF_PROG_LOAD
BPF_OBJ_PIN
BPF_OBJ_GET
BPF_PROG_ATTACH
BPF_PROG_DETACH
BPF_PROG_RUN
BPF_PROG_GET_NEXT_ID
BPF_MAP_GET_NEXT_ID
BPF_PROG_GET_FD_BY_ID
BPF_MAP_GET_FD_BY_ID
BPF_OBJ_GET_INFO_BY_FD
BPF_PROG_QUERY
BPF_RAW_TRACEPOINT_OPEN
BPF_BTF_LOAD
BPF_BTF_GET_FD_BY_ID
BPF_TASK_FD_QUERY
BPF_MAP_LOOKUP_AND_DELETE_ELEM
BPF_MAP_FREEZE
BPF_BTF_GET_NEXT_ID
BPF_MAP_LOOKUP_BATCH
BPF_MAP_LOOKUP_AND_DELETE_BATCH
BPF_MAP_UPDATE_BATCH
BPF_MAP_DELETE_BATCH
BPF_LINK_CREATE
BPF_LINK_UPDATE
BPF_LINK_GET_FD_BY_ID
BPF_LINK_GET_NEXT_ID
BPF_ENABLE_STATS
BPF_ITER_CREATE
BPF_LINK_DETACH
BPF_PROG_BIND_MAP
Unknown(usize)
Trait Implementations§
source§impl Clone for PT_ENUMFLAGS32_bpf_commands
impl Clone for PT_ENUMFLAGS32_bpf_commands
source§fn clone(&self) -> PT_ENUMFLAGS32_bpf_commands
fn clone(&self) -> PT_ENUMFLAGS32_bpf_commands
Returns a copy 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 PT_ENUMFLAGS32_bpf_commands
impl Debug for PT_ENUMFLAGS32_bpf_commands
source§impl<'de> Deserialize<'de> for PT_ENUMFLAGS32_bpf_commands
impl<'de> Deserialize<'de> for PT_ENUMFLAGS32_bpf_commands
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<F> Format<F> for PT_ENUMFLAGS32_bpf_commands
impl<F> Format<F> for PT_ENUMFLAGS32_bpf_commands
source§impl From<PT_ENUMFLAGS32_bpf_commands> for u32
impl From<PT_ENUMFLAGS32_bpf_commands> for u32
source§fn from(val: PT_ENUMFLAGS32_bpf_commands) -> u32
fn from(val: PT_ENUMFLAGS32_bpf_commands) -> u32
Converts to this type from the input type.
source§impl From<u32> for PT_ENUMFLAGS32_bpf_commands
impl From<u32> for PT_ENUMFLAGS32_bpf_commands
source§impl FromBytes<'_> for PT_ENUMFLAGS32_bpf_commands
impl FromBytes<'_> for PT_ENUMFLAGS32_bpf_commands
source§fn from_bytes(buf: &mut &[u8]) -> FromBytesResult<Self>where
Self: Sized,
fn from_bytes(buf: &mut &[u8]) -> FromBytesResult<Self>where
Self: Sized,
Read the binary representation of a field and return the parsed representation Read more
source§fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> FromBytesResult<Self>
fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> FromBytesResult<Self>
Read the binary representation of a field from a buffer that may or may not exist Read more
source§impl Hash for PT_ENUMFLAGS32_bpf_commands
impl Hash for PT_ENUMFLAGS32_bpf_commands
source§impl Ord for PT_ENUMFLAGS32_bpf_commands
impl Ord for PT_ENUMFLAGS32_bpf_commands
source§fn cmp(&self, other: &PT_ENUMFLAGS32_bpf_commands) -> Ordering
fn cmp(&self, other: &PT_ENUMFLAGS32_bpf_commands) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialOrd for PT_ENUMFLAGS32_bpf_commands
impl PartialOrd for PT_ENUMFLAGS32_bpf_commands
impl Copy for PT_ENUMFLAGS32_bpf_commands
impl Eq for PT_ENUMFLAGS32_bpf_commands
impl StructuralPartialEq for PT_ENUMFLAGS32_bpf_commands
Auto Trait Implementations§
impl Freeze for PT_ENUMFLAGS32_bpf_commands
impl RefUnwindSafe for PT_ENUMFLAGS32_bpf_commands
impl Send for PT_ENUMFLAGS32_bpf_commands
impl Sync for PT_ENUMFLAGS32_bpf_commands
impl Unpin for PT_ENUMFLAGS32_bpf_commands
impl UnwindSafe for PT_ENUMFLAGS32_bpf_commands
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)