Struct rustix::io_uring::io_uring_params
source · [−]#[repr(C)]pub struct io_uring_params {
pub sq_entries: u32,
pub cq_entries: u32,
pub flags: IoringSetupFlags,
pub sq_thread_cpu: u32,
pub sq_thread_idle: u32,
pub features: IoringFeatureFlags,
pub wq_fd: u32,
pub resv: [u32; 3],
pub sq_off: io_sqring_offsets,
pub cq_off: io_cqring_offsets,
}
Available on crate feature
io_uring
only.Fields
sq_entries: u32
cq_entries: u32
flags: IoringSetupFlags
sq_thread_cpu: u32
sq_thread_idle: u32
features: IoringFeatureFlags
wq_fd: u32
resv: [u32; 3]
sq_off: io_sqring_offsets
cq_off: io_cqring_offsets
Trait Implementations
sourceimpl Clone for io_uring_params
impl Clone for io_uring_params
sourcefn clone(&self) -> io_uring_params
fn clone(&self) -> io_uring_params
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for io_uring_params
impl Debug for io_uring_params
sourceimpl Default for io_uring_params
impl Default for io_uring_params
sourcefn default() -> io_uring_params
fn default() -> io_uring_params
Returns the “default value” for a type. Read more
impl Copy for io_uring_params
Auto Trait Implementations
impl RefUnwindSafe for io_uring_params
impl Send for io_uring_params
impl Sync for io_uring_params
impl Unpin for io_uring_params
impl UnwindSafe for io_uring_params
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more