#[repr(C)]pub struct io_uring_params_t {
pub sq_entries: u32,
pub cq_entries: u32,
pub flags: u32,
pub sq_thread_cpu: u32,
pub sq_thread_idle: u32,
pub features: u32,
pub wq_fd: u32,
pub resv: [u32; 3],
pub sq_off: io_sqring_offsets_t,
pub cq_off: io_cqring_offsets_t,
}Expand description
Passed in for io_uring_setup(2). Copied back with updated info on success
Fields§
§sq_entries: u32§cq_entries: u32§flags: u32§sq_thread_cpu: u32§sq_thread_idle: u32§features: u32§wq_fd: u32§resv: [u32; 3]§sq_off: io_sqring_offsets_t§cq_off: io_cqring_offsets_tTrait Implementations§
Source§impl Clone for io_uring_params_t
impl Clone for io_uring_params_t
Source§impl Debug for io_uring_params_t
impl Debug for io_uring_params_t
Auto Trait Implementations§
impl Freeze for io_uring_params_t
impl RefUnwindSafe for io_uring_params_t
impl Send for io_uring_params_t
impl Sync for io_uring_params_t
impl Unpin for io_uring_params_t
impl UnsafeUnpin for io_uring_params_t
impl UnwindSafe for io_uring_params_t
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