pub struct PollRemove { /* private fields */ }
Expand description
Remove an existing poll request.
If found, the result
method of the cqueue::Entry
will return 0.
If not found, result
will return -libc::ENOENT
.
Implementations§
Source§impl PollRemove
impl PollRemove
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.
pub fn new(user_data: io_uring_user_data) -> Self
pub fn build(self) -> Entry
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PollRemove
impl RefUnwindSafe for PollRemove
impl !Send for PollRemove
impl !Sync for PollRemove
impl Unpin for PollRemove
impl UnwindSafe for PollRemove
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more