[−][src]Struct syscall::io_uring::linux::io_uring_sqe
The same submission entry type that Linux uses. While this struct is not source-compatible since this is Rust, it will be source and binary compatible from C.
Fields
opcode: u8
flags: u8
ioprio: u16
fd: i32
off_addr2: off_addr2
addr: u64
len: u32
cmd_flags: cmd_flags
user_data: u64
buf_index: buf_index
Trait Implementations
impl GenericSubmissionEntry for io_uring_sqe
[src]
fn opcode(&self) -> u8
[src]
fn sqe_flags(&self) -> u8
[src]
fn priority(&self) -> u16
[src]
fn syscall_flags(&self) -> u32
[src]
fn len_raw(&self) -> Either<u32, u64>
[src]
fn fd_raw(&self) -> Either<u32, u64>
[src]
fn user_data_raw(&self) -> Either<u32, u64>
[src]
fn addr_raw(&self) -> Either<u32, u64>
[src]
fn offset(&self) -> u64
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,