#[repr(C)]
pub union bpf_sockopt__bindgen_ty_2 {
pub optval: *mut c_void,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8]>,
}
Fields§
§optval: *mut c_void
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 8]>
Implementations§
Source§impl bpf_sockopt__bindgen_ty_2
impl bpf_sockopt__bindgen_ty_2
pub fn new_bitfield_1() -> __BindgenBitfieldUnit<[u8; 8]>
Trait Implementations§
Source§impl Clone for bpf_sockopt__bindgen_ty_2
impl Clone for bpf_sockopt__bindgen_ty_2
Source§fn clone(&self) -> bpf_sockopt__bindgen_ty_2
fn clone(&self) -> bpf_sockopt__bindgen_ty_2
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 Default for bpf_sockopt__bindgen_ty_2
impl Default for bpf_sockopt__bindgen_ty_2
impl Copy for bpf_sockopt__bindgen_ty_2
Auto Trait Implementations§
impl Freeze for bpf_sockopt__bindgen_ty_2
impl RefUnwindSafe for bpf_sockopt__bindgen_ty_2
impl !Send for bpf_sockopt__bindgen_ty_2
impl !Sync for bpf_sockopt__bindgen_ty_2
impl Unpin for bpf_sockopt__bindgen_ty_2
impl UnwindSafe for bpf_sockopt__bindgen_ty_2
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
)