[][src]Struct uring::SubmissionQueueEntry

#[repr(C)]pub struct SubmissionQueueEntry {
    pub opcode: u8,
    pub flags: u8,
    pub priority: u16,
    pub fd: RawFd,
    pub offset: u64,
    pub addr: u64,
    pub len: u32,
    pub cmd_flags: CommandFlags,
    pub user_data: u64,
    pub buf_index: BufIndex,
}

Fields

opcode: u8flags: u8priority: u16fd: RawFdoffset: u64addr: u64len: u32cmd_flags: CommandFlagsuser_data: u64buf_index: BufIndex

Methods

impl SubmissionQueueEntry[src]

pub fn prep_read_vectored(&mut self, fd: RawFd, buf: &mut [IoSliceMut])[src]

pub fn prep_write_vectored(&mut self, fd: RawFd, buf: &[IoSlice])[src]

Trait Implementations

impl Debug for SubmissionQueueEntry[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.