Struct io_uring::opcode::TimeoutUpdate
source · pub struct TimeoutUpdate { /* private fields */ }
Expand description
Attempt to update an existing timeout operation with a new timespec.
The optional count
value of the original timeout value cannot be updated.
Implementations§
source§impl TimeoutUpdate
impl TimeoutUpdate
pub fn new(user_data: u64, timespec: *const Timespec) -> Self
sourcepub const CODE: u8 = 12u8
pub const CODE: u8 = 12u8
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 TimeoutUpdate
impl RefUnwindSafe for TimeoutUpdate
impl !Send for TimeoutUpdate
impl !Sync for TimeoutUpdate
impl Unpin for TimeoutUpdate
impl UnwindSafe for TimeoutUpdate
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