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