pub struct SendZc { /* private fields */ }
Expand description
Send a zerocopy message on a socket, equivalent to send(2)
.
Implementations§
source§impl SendZc
impl SendZc
pub fn new(fd: impl UseFixed, buf: *const u8, len: u32) -> Self
sourcepub const CODE: u8 = 47u8
pub const CODE: u8 = 47u8
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.