Struct io_uring::opcode::LinkTimeout
source · pub struct LinkTimeout { /* private fields */ }
Expand description
This request must be linked with another request through
Flags::IO_LINK
which is described below.
Unlike Timeout
, LinkTimeout
acts on the linked request, not the completion queue.
Implementations§
source§impl LinkTimeout
impl LinkTimeout
pub fn new(timespec: *const Timespec) -> Self
sourcepub const CODE: u8 = 15u8
pub const CODE: u8 = 15u8
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 const fn flags(self, flags: TimeoutFlags) -> Self
pub fn build(self) -> Entry
Auto Trait Implementations§
impl Freeze for LinkTimeout
impl RefUnwindSafe for LinkTimeout
impl !Send for LinkTimeout
impl !Sync for LinkTimeout
impl Unpin for LinkTimeout
impl UnwindSafe for LinkTimeout
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