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
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 new(builder: CancelBuilder) -> Self
pub fn build(self) -> Entry
Auto Trait Implementations§
impl Freeze for AsyncCancel2
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