pub struct RecvZc { /* private fields */ }
Expand description
Issue the zerocopy equivalent of a recv(2)
system call.
Implementations§
Source§impl RecvZc
impl RecvZc
Sourcepub const CODE: u8 = 58u8
pub const CODE: u8 = 58u8
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.
pub fn new(fd: impl UseFixed, len: u32) -> Self
pub const fn ifq(self, ifq: u32) -> Self
pub const fn ioprio(self, ioprio: u16) -> Self
pub fn build(self) -> Entry
Auto Trait Implementations§
impl Freeze for RecvZc
impl RefUnwindSafe for RecvZc
impl Send for RecvZc
impl Sync for RecvZc
impl Unpin for RecvZc
impl UnwindSafe for RecvZc
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