#[repr(C)]
pub struct io_uring_sqe {
Show 13 fields pub opcode: u8, pub flags: u8, pub ioprio: u16, pub fd: i32, pub __bindgen_anon_1: io_uring_sqe__bindgen_ty_1, pub __bindgen_anon_2: io_uring_sqe__bindgen_ty_2, pub len: u32, pub __bindgen_anon_3: io_uring_sqe__bindgen_ty_3, pub user_data: u64, pub __bindgen_anon_4: io_uring_sqe__bindgen_ty_4, pub personality: u16, pub __bindgen_anon_5: io_uring_sqe__bindgen_ty_5, pub __bindgen_anon_6: io_uring_sqe__bindgen_ty_6,
}

Fields§

§opcode: u8§flags: u8§ioprio: u16§fd: i32§__bindgen_anon_1: io_uring_sqe__bindgen_ty_1§__bindgen_anon_2: io_uring_sqe__bindgen_ty_2§len: u32§__bindgen_anon_3: io_uring_sqe__bindgen_ty_3§user_data: u64§__bindgen_anon_4: io_uring_sqe__bindgen_ty_4§personality: u16§__bindgen_anon_5: io_uring_sqe__bindgen_ty_5§__bindgen_anon_6: io_uring_sqe__bindgen_ty_6

Implementations§

source§

impl io_uring_sqe

source

pub fn set_addr(&mut self, val: u64)

source

pub fn set_off(&mut self, val: u64)

source

pub fn set_buf_index(&mut self, val: u16)

source

pub fn set_rw_flags(&mut self, val: c_int)

source

pub fn set_poll_events(&mut self, val: u32)

Trait Implementations§

source§

impl Default for io_uring_sqe

source§

fn default() -> Self

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

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.