Struct linux_raw_sys::general::tcp_zerocopy_receive
source · [−]#[repr(C)]pub struct tcp_zerocopy_receive {
pub address: __u64,
pub length: __u32,
pub recv_skip_hint: __u32,
pub inq: __u32,
pub err: __s32,
pub copybuf_address: __u64,
pub copybuf_len: __s32,
pub flags: __u32,
}Fields
address: __u64length: __u32recv_skip_hint: __u32inq: __u32err: __s32copybuf_address: __u64copybuf_len: __s32flags: __u32Trait Implementations
sourceimpl Clone for tcp_zerocopy_receive
impl Clone for tcp_zerocopy_receive
sourcefn clone(&self) -> tcp_zerocopy_receive
fn clone(&self) -> tcp_zerocopy_receive
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 tcp_zerocopy_receive
impl Debug for tcp_zerocopy_receive
impl Copy for tcp_zerocopy_receive
Auto Trait Implementations
impl RefUnwindSafe for tcp_zerocopy_receive
impl Send for tcp_zerocopy_receive
impl Sync for tcp_zerocopy_receive
impl Unpin for tcp_zerocopy_receive
impl UnwindSafe for tcp_zerocopy_receive
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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