/// Send a Pread request.
///
/// On success, the returned usize indicates how much of `buf` was
/// initialized. Otherwise on error, none of it will have been.
Send a Pread request.
On success, the returned usize indicates how much of `buf` was
initialized. Otherwise on error, none of it will have been.
Send a Pread request . On success the returned usize indicates how much of ` buf ` was initialized . Otherwise on error none of it will have been .
pub fn pread<F: AsRawFd>(&self, file: &F, buf: Rb, off: Offset, tok: T) {
        self.sendhelper(file, move |ctx, f| {
            ctx.pread(&f, buf, off, tok).map_err(|(buf, tok)| raw::IoOp::Pread(buf, tok))
        })
    }
pub fn pread < F : AsRawFd > ( & self , file : & F , buf : Rb , off : Offset , tok : T ) { self . sendhelper ( file , move | ctx , f | { ctx . pread ( & f , buf , off , tok ) . map_err ( | ( buf , tok ) | raw :: IoOp :: Pread ( buf , tok ) ) } ) }
Send a Pread request.
Send a Pread request .
&self
file
&F
buf
Rb
off
Offset
tok
T