Struct compio_driver::op::ReadAt
source · pub struct ReadAt<T: IoBufMut> { /* private fields */ }Expand description
Read a file at specified position into specified buffer.
Implementations§
Trait Implementations§
source§impl<T: IoBufMut> OpCode for ReadAt<T>
impl<T: IoBufMut> OpCode for ReadAt<T>
source§unsafe fn operate(
self: Pin<&mut Self>,
optr: *mut OVERLAPPED
) -> Poll<Result<usize>>
unsafe fn operate( self: Pin<&mut Self>, optr: *mut OVERLAPPED ) -> Poll<Result<usize>>
Perform Windows API call with given pointer to overlapped struct. Read more
source§unsafe fn cancel(self: Pin<&mut Self>, optr: *mut OVERLAPPED) -> Result<()>
unsafe fn cancel(self: Pin<&mut Self>, optr: *mut OVERLAPPED) -> Result<()>
Cancel the async IO operation. Read more
source§fn is_overlapped(&self) -> bool
fn is_overlapped(&self) -> bool
Determines that the operation is really overlapped defined by Windows
API. If not, the driver will try to operate it in another thread.
Auto Trait Implementations§
impl<T> Freeze for ReadAt<T>where
T: Freeze,
impl<T> RefUnwindSafe for ReadAt<T>where
T: RefUnwindSafe,
impl<T> !Send for ReadAt<T>
impl<T> !Sync for ReadAt<T>
impl<T> !Unpin for ReadAt<T>
impl<T> UnwindSafe for ReadAt<T>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