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