Enum capstone_sys::bpf_op_type
source · [−]#[repr(u32)]
pub enum bpf_op_type {
BPF_OP_INVALID,
BPF_OP_REG,
BPF_OP_IMM,
BPF_OP_OFF,
BPF_OP_MEM,
BPF_OP_MMEM,
BPF_OP_MSH,
BPF_OP_EXT,
}Expand description
Operand type for instruction’s operands
Variants
BPF_OP_INVALID
BPF_OP_REG
BPF_OP_IMM
BPF_OP_OFF
BPF_OP_MEM
BPF_OP_MMEM
< M[k] in cBPF
BPF_OP_MSH
< corresponds to cBPF’s BPF_MSH mode
BPF_OP_EXT
< cBPF’s extension (not eBPF)
Trait Implementations
sourceimpl Clone for bpf_op_type
impl Clone for bpf_op_type
sourcefn clone(&self) -> bpf_op_type
fn clone(&self) -> bpf_op_type
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for bpf_op_type
impl Debug for bpf_op_type
sourceimpl Hash for bpf_op_type
impl Hash for bpf_op_type
sourceimpl PartialEq<bpf_op_type> for bpf_op_type
impl PartialEq<bpf_op_type> for bpf_op_type
impl Copy for bpf_op_type
impl Eq for bpf_op_type
impl StructuralEq for bpf_op_type
impl StructuralPartialEq for bpf_op_type
Auto Trait Implementations
impl RefUnwindSafe for bpf_op_type
impl Send for bpf_op_type
impl Sync for bpf_op_type
impl Unpin for bpf_op_type
impl UnwindSafe for bpf_op_type
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