Struct rustix::io_uring::io_uring_sqe
source · [−]#[repr(C)]pub struct io_uring_sqe {Show 13 fields
pub opcode: IoringOp,
pub flags: IoringSqeFlags,
pub ioprio: u16,
pub fd: RawFd,
pub off_or_addr2: off_or_addr2_union,
pub addr_or_splice_off_in: addr_or_splice_off_in_union,
pub len: u32,
pub op_flags: op_flags_union,
pub user_data: io_uring_user_data,
pub buf: buf_union,
pub personality: u16,
pub splice_fd_in_or_file_index: splice_fd_in_or_file_index_union,
pub __pad2: [u64; 2],
}
Available on crate feature
io_uring
only.Expand description
An io_uring Submission Queue Entry.
Fields
opcode: IoringOp
flags: IoringSqeFlags
ioprio: u16
fd: RawFd
off_or_addr2: off_or_addr2_union
addr_or_splice_off_in: addr_or_splice_off_in_union
len: u32
op_flags: op_flags_union
user_data: io_uring_user_data
buf: buf_union
personality: u16
splice_fd_in_or_file_index: splice_fd_in_or_file_index_union
__pad2: [u64; 2]
Trait Implementations
sourceimpl Clone for io_uring_sqe
impl Clone for io_uring_sqe
sourcefn clone(&self) -> io_uring_sqe
fn clone(&self) -> io_uring_sqe
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 Default for io_uring_sqe
impl Default for io_uring_sqe
sourcefn default() -> io_uring_sqe
fn default() -> io_uring_sqe
Returns the “default value” for a type. Read more
impl Copy for io_uring_sqe
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
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