pub struct ReadAt<T: IoBufMut, S> { /* private fields */ }
Expand description
Read a file at specified position into specified buffer.
Implementations§
Trait Implementations§
Source§impl<T: IoBufMut, S: AsRawFd> OpCode for ReadAt<T, S>
impl<T: IoBufMut, S: AsRawFd> OpCode for ReadAt<T, S>
Source§fn pre_submit(self: Pin<&mut Self>) -> Result<Decision>
fn pre_submit(self: Pin<&mut Self>) -> Result<Decision>
Perform the operation before submit, and return
Decision
to
indicate whether submitting the operation to polling is required.Auto Trait Implementations§
impl<T, S> Freeze for ReadAt<T, S>where
T: Freeze,
impl<T, S> RefUnwindSafe for ReadAt<T, S>where
T: RefUnwindSafe,
impl<T, S> Send for ReadAt<T, S>
impl<T, S> Sync for ReadAt<T, S>
impl<T, S> !Unpin for ReadAt<T, S>
impl<T, S> UnwindSafe for ReadAt<T, S>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more