#[repr(C)]
pub union bpf_sock_ops__bindgen_ty_2 {
pub sk: *mut bpf_sock,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8]>,
}
Fields
sk: *mut bpf_sock
_bitfield_align_1: [u8; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 8]>
Implementations
sourceimpl bpf_sock_ops__bindgen_ty_2
impl bpf_sock_ops__bindgen_ty_2
pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8]>
Trait Implementations
sourceimpl Clone for bpf_sock_ops__bindgen_ty_2
impl Clone for bpf_sock_ops__bindgen_ty_2
sourcefn clone(&self) -> bpf_sock_ops__bindgen_ty_2
fn clone(&self) -> bpf_sock_ops__bindgen_ty_2
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 Default for bpf_sock_ops__bindgen_ty_2
impl Default for bpf_sock_ops__bindgen_ty_2
impl Copy for bpf_sock_ops__bindgen_ty_2
Auto Trait Implementations
impl RefUnwindSafe for bpf_sock_ops__bindgen_ty_2
impl !Send for bpf_sock_ops__bindgen_ty_2
impl !Sync for bpf_sock_ops__bindgen_ty_2
impl Unpin for bpf_sock_ops__bindgen_ty_2
impl UnwindSafe for bpf_sock_ops__bindgen_ty_2
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more