Struct io_uring::bindings::io_uring_sqe
source · #[repr(C)]pub struct io_uring_sqe {Show 13 fields
pub opcode: u8,
pub flags: u8,
pub ioprio: u16,
pub fd: i32,
pub __bindgen_anon_1: io_uring_sqe__bindgen_ty_1,
pub __bindgen_anon_2: io_uring_sqe__bindgen_ty_2,
pub len: u32,
pub __bindgen_anon_3: io_uring_sqe__bindgen_ty_3,
pub user_data: u64,
pub __bindgen_anon_4: io_uring_sqe__bindgen_ty_4,
pub personality: u16,
pub __bindgen_anon_5: io_uring_sqe__bindgen_ty_5,
pub __bindgen_anon_6: io_uring_sqe__bindgen_ty_6,
}
Fields§
§opcode: u8
§flags: u8
§ioprio: u16
§fd: i32
§__bindgen_anon_1: io_uring_sqe__bindgen_ty_1
§__bindgen_anon_2: io_uring_sqe__bindgen_ty_2
§len: u32
§__bindgen_anon_3: io_uring_sqe__bindgen_ty_3
§user_data: u64
§__bindgen_anon_4: io_uring_sqe__bindgen_ty_4
§personality: u16
§__bindgen_anon_5: io_uring_sqe__bindgen_ty_5
§__bindgen_anon_6: io_uring_sqe__bindgen_ty_6
Implementations§
source§impl io_uring_sqe
impl io_uring_sqe
pub fn set_addr(&mut self, val: u64)
pub fn set_off(&mut self, val: u64)
pub fn set_buf_index(&mut self, val: u16)
pub fn set_rw_flags(&mut self, val: c_int)
pub fn set_poll_events(&mut self, val: u32)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for io_uring_sqe
impl Send for io_uring_sqe
impl Sync for io_uring_sqe
impl Unpin for io_uring_sqe
impl UnwindSafe for io_uring_sqe
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