#[repr(C)]pub struct bpf_program {
pub bf_len: u_int,
pub bf_insns: *mut bpf_insn,
}
Fields§
§bf_len: u_int
§bf_insns: *mut bpf_insn
Trait Implementations§
Source§impl Clone for bpf_program
impl Clone for bpf_program
Source§fn clone(&self) -> bpf_program
fn clone(&self) -> bpf_program
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 bpf_program
impl Debug for bpf_program
impl Copy for bpf_program
Auto Trait Implementations§
impl Freeze for bpf_program
impl RefUnwindSafe for bpf_program
impl !Send for bpf_program
impl !Sync for bpf_program
impl Unpin for bpf_program
impl UnwindSafe for bpf_program
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