Struct io_uring::opcode::PollAdd

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

Poll the specified fd.

Unlike poll or epoll without EPOLLONESHOT, this interface always works in one shot mode. That is, once the poll operation is completed, it will have to be resubmitted.

Implementations§

The bits that may be set in flags are defined in <poll.h>, and documented in poll(2).

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.