#[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: IoringOpflags: IoringSqeFlagsioprio: u16fd: RawFdoff_or_addr2: off_or_addr2_unionaddr_or_splice_off_in: addr_or_splice_off_in_unionlen: u32op_flags: op_flags_unionuser_data: io_uring_user_databuf: buf_unionpersonality: u16splice_fd_in_or_file_index: splice_fd_in_or_file_index_union__pad2: [u64; 2]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.