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