Struct io_uring::opcode::AsyncCancel2
source · pub struct AsyncCancel2 { /* private fields */ }Expand description
Attempt to cancel an already issued request, receiving a cancellation builder, which allows for the new cancel criterias introduced since 5.19.
Implementations§
source§impl AsyncCancel2
impl AsyncCancel2
pub fn new(builder: CancelBuilder) -> Self
sourcepub const CODE: u8 = 14u8
pub const CODE: u8 = 14u8
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 build(self) -> Entry
Auto Trait Implementations§
impl RefUnwindSafe for AsyncCancel2
impl Send for AsyncCancel2
impl Sync for AsyncCancel2
impl Unpin for AsyncCancel2
impl UnwindSafe for AsyncCancel2
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