pub struct RecvVectored<T: IoVectoredBufMut, S> { /* private fields */ }
Expand description
Receive data from remote into vectored buffer.
Implementations§
Source§impl<T: IoVectoredBufMut, S> RecvVectored<T, S>
impl<T: IoVectoredBufMut, S> RecvVectored<T, S>
Sourcepub fn new(fd: SharedFd<S>, buffer: T) -> Self
pub fn new(fd: SharedFd<S>, buffer: T) -> Self
Create RecvVectored
.
Trait Implementations§
Source§impl<T: IoVectoredBufMut, S> IntoInner for RecvVectored<T, S>
impl<T: IoVectoredBufMut, S> IntoInner for RecvVectored<T, S>
Source§impl<T: IoVectoredBufMut, S: AsRawFd> OpCode for RecvVectored<T, S>
impl<T: IoVectoredBufMut, S: AsRawFd> OpCode for RecvVectored<T, S>
Source§impl<T: IoVectoredBufMut, S: AsRawFd> OpCode for RecvVectored<T, S>
impl<T: IoVectoredBufMut, S: AsRawFd> OpCode for RecvVectored<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 RecvVectored<T, S>where
T: Freeze,
impl<T, S> RefUnwindSafe for RecvVectored<T, S>where
T: RefUnwindSafe,
impl<T, S> !Send for RecvVectored<T, S>
impl<T, S> !Sync for RecvVectored<T, S>
impl<T, S> !Unpin for RecvVectored<T, S>
impl<T, S> UnwindSafe for RecvVectored<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