pub struct RecvFromVectored<T: IoVectoredBufMut, S> { /* private fields */ }
Expand description
Receive data and source address into vectored buffer.
Implementations§
Source§impl<T: IoVectoredBufMut, S> RecvFromVectored<T, S>
impl<T: IoVectoredBufMut, S> RecvFromVectored<T, S>
Sourcepub fn new(fd: SharedFd<S>, buffer: T) -> Self
pub fn new(fd: SharedFd<S>, buffer: T) -> Self
Create RecvFromVectored
.
Trait Implementations§
Source§impl<T: IoVectoredBufMut, S> IntoInner for RecvFromVectored<T, S>
impl<T: IoVectoredBufMut, S> IntoInner for RecvFromVectored<T, S>
Source§type Inner = (T, sockaddr_storage, u32)
type Inner = (T, sockaddr_storage, u32)
The inner type.
Source§fn into_inner(self) -> Self::Inner
fn into_inner(self) -> Self::Inner
Get the inner buffer.
Source§impl<T: IoVectoredBufMut, S: AsRawFd> OpCode for RecvFromVectored<T, S>
impl<T: IoVectoredBufMut, S: AsRawFd> OpCode for RecvFromVectored<T, S>
Auto Trait Implementations§
impl<T, S> Freeze for RecvFromVectored<T, S>where
T: Freeze,
impl<T, S> RefUnwindSafe for RecvFromVectored<T, S>where
T: RefUnwindSafe,
impl<T, S> !Send for RecvFromVectored<T, S>
impl<T, S> !Sync for RecvFromVectored<T, S>
impl<T, S> !Unpin for RecvFromVectored<T, S>
impl<T, S> UnwindSafe for RecvFromVectored<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