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