pub struct ReadVectoredAt<T: IoVectoredBufMut, S> { /* private fields */ }
Expand description
Read a file at specified position into vectored buffer.
Implementations§
Source§impl<T: IoVectoredBufMut, S> ReadVectoredAt<T, S>
impl<T: IoVectoredBufMut, S> ReadVectoredAt<T, S>
Sourcepub fn new(fd: S, offset: u64, buffer: T) -> Self
pub fn new(fd: S, offset: u64, buffer: T) -> Self
Create ReadVectoredAt
.
Trait Implementations§
Source§impl<T: IoVectoredBufMut, S> IntoInner for ReadVectoredAt<T, S>
impl<T: IoVectoredBufMut, S> IntoInner for ReadVectoredAt<T, S>
Source§impl<T: IoVectoredBufMut, S: AsFd> OpCode for ReadVectoredAt<T, S>
impl<T: IoVectoredBufMut, S: AsFd> OpCode for ReadVectoredAt<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 ReadVectoredAt<T, S>
impl<T, S> RefUnwindSafe for ReadVectoredAt<T, S>where
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, S> !Send for ReadVectoredAt<T, S>
impl<T, S> !Sync for ReadVectoredAt<T, S>
impl<T, S> !Unpin for ReadVectoredAt<T, S>
impl<T, S> UnwindSafe for ReadVectoredAt<T, S>where
S: UnwindSafe,
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