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: SharedFd<S>, offset: u64, buffer: T) -> Self
pub fn new(fd: SharedFd<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: AsRawFd> OpCode for ReadVectoredAt<T, S>
impl<T: IoVectoredBufMut, S: AsRawFd> OpCode for ReadVectoredAt<T, S>
source§impl<T: IoVectoredBufMut, S: AsRawFd> OpCode for ReadVectoredAt<T, S>
impl<T: IoVectoredBufMut, S: AsRawFd> OpCode for ReadVectoredAt<T, S>
source§fn create_entry(self: Pin<&mut Self>) -> OpEntry
fn create_entry(self: Pin<&mut Self>) -> OpEntry
Create submission entry.
source§fn call_blocking(self: Pin<&mut Self>) -> Result<usize>
fn call_blocking(self: Pin<&mut Self>) -> Result<usize>
Call the operation in a blocking way. This method will only be called if
[
create_entry
] returns OpEntry::Blocking
.Auto Trait Implementations§
impl<T, S> Freeze for ReadVectoredAt<T, S>where
T: Freeze,
impl<T, S> RefUnwindSafe for ReadVectoredAt<T, S>where
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
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