#[non_exhaustive]#[repr(C)]pub struct io_uring_sync_cancel_reg {
pub addr: io_uring_user_data,
pub fd: i32,
pub flags: IoringAsyncCancelFlags,
pub timeout: Timespec,
pub opcode: u8,
/* private fields */
}Available on crate feature
io_uring only.Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.addr: io_uring_user_data§fd: i32§flags: IoringAsyncCancelFlags§timeout: Timespec§opcode: u8Trait Implementations§
Source§impl Clone for io_uring_sync_cancel_reg
impl Clone for io_uring_sync_cancel_reg
Source§fn clone(&self) -> io_uring_sync_cancel_reg
fn clone(&self) -> io_uring_sync_cancel_reg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for io_uring_sync_cancel_reg
impl Default for io_uring_sync_cancel_reg
impl Copy for io_uring_sync_cancel_reg
Auto Trait Implementations§
impl Freeze for io_uring_sync_cancel_reg
impl RefUnwindSafe for io_uring_sync_cancel_reg
impl !Send for io_uring_sync_cancel_reg
impl !Sync for io_uring_sync_cancel_reg
impl Unpin for io_uring_sync_cancel_reg
impl UnwindSafe for io_uring_sync_cancel_reg
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