pub fn read_at<'a, F, B>(
        &'a self,
        file: &'a F,
        iov: &'a B,
        at: u64,
        ordering: EventOrdering,
    ) -> Completion<'a, usize>
    where
        F: AsRawFd,
        B: AsIoVec + AsIoVecMut,
    {
        self.with_sqe(Some(iov.into_new_iovec()), false, |sqe| {
            sqe.prep_rw(IORING_OP_READV, file.as_raw_fd(), 1, at, ordering)
        })
    }
/// Reads data into the provided buffer using
/// vectored IO. Be sure to check the returned
/// `Cqe`'s `res` field to see if a
/// short read happened. This will contain
/// the number of bytes read.
///
/// You may pass in an `EventOrdering` to specify
/// two different optional behaviors:
///
/// * `EventOrdering::Link` causes the next
///   submitted operation to wait until
///   this one finishes. Useful for
///   things like file copy, fsync-after-write,
///   or proxies.
/// * `EventOrdering::Drain` causes all previously
///   submitted operations to complete before
///   this one begins.
///
/// Note that the file argument is generic
/// for anything that supports AsRawFd:
/// sockets, files, etc...
Reads data into the provided buffer using
vectored IO. Be sure to check the returned
`Cqe`'s `res` field to see if a
short read happened. This will contain
the number of bytes read.

You may pass in an `EventOrdering` to specify
two different optional behaviors.

`EventOrdering::Link` causes the next
submitted operation to wait until
this one finishes. Useful for
things like file copy, fsync-after-write,
or proxies.
`EventOrdering::Drain` causes all previously
submitted operations to complete before
this one begins.

Note that the file argument is generic
for anything that supports AsRawFd:
sockets, files, etc
Reads data into the provided buffer using vectored IO . Be sure to check the returned ` Cqe ` ' s ` res ` field to see if a short read happened . This will contain the number of bytes read . You may pass in an ` EventOrdering ` to specify two different optional behaviors . ` EventOrdering :: Link ` causes the next submitted operation to wait until this one finishes . Useful for things like file copy fsync - after - write or proxies . ` EventOrdering :: Drain ` causes all previously submitted operations to complete before this one begins . Note that the file argument is generic for anything that supports AsRawFd : sockets files etc
pub fn read_at<'a, F, B>(
        &'a self,
        file: &'a F,
        iov: &'a B,
        at: u64,
        ordering: EventOrdering,
    ) -> Completion<'a, usize>
    where
        F: AsRawFd,
        B: AsIoVec + AsIoVecMut,
    {
        self.with_sqe(Some(iov.into_new_iovec()), false, |sqe| {
            sqe.prep_rw(IORING_OP_READV, file.as_raw_fd(), 1, at, ordering)
        })
    }
pub fn read_at < ' a , F , B > ( & ' a self , file : & ' a F , iov : & ' a B , at : u64 , ordering : EventOrdering , ) -> Completion < ' a , usize > where F : AsRawFd , B : AsIoVec + AsIoVecMut , { self . with_sqe ( Some ( iov . into_new_iovec ( ) ) , false , | sqe | { sqe . prep_rw ( IORING_OP_READV , file . as_raw_fd ( ) , 1 , at , ordering ) } ) }
Reads data into the provided buffer using
vectored IO.
Reads data into the provided buffer using vectored IO .
&'a self
file
&'a F
iov
&'a B
at
u64
ordering
EventOrdering
&'a self
file
&'a F
iov
&'a B
at
u64
ordering
EventOrdering