Enum capstone_sys::bpf_op_type[][src]

#[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,
}

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

impl Clone for bpf_op_type[src]

impl Copy for bpf_op_type[src]

impl Debug for bpf_op_type[src]

impl Eq for bpf_op_type[src]

impl Hash for bpf_op_type[src]

impl PartialEq<bpf_op_type> for bpf_op_type[src]

impl StructuralEq for bpf_op_type[src]

impl StructuralPartialEq for bpf_op_type[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.