Struct io_uring::opcode::SendMsg

source ·
pub struct SendMsg { /* private fields */ }
Expand description

Send a message on a socket, equivalent to send(2).

fd must be set to the socket file descriptor, addr must contains a pointer to the msghdr structure, and flags holds the flags associated with the system call.

Implementations§

The opcode of the operation. This can be passed to Probe::is_supported to check if this operation is supported with the current kernel.

Trait Implementations§

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.