Struct tokio::io::util::write_vectored::WriteVectored
source · pub struct WriteVectored<'a, 'b, W: ?Sized> {
writer: &'a mut W,
bufs: &'a [IoSlice<'b>],
_pin: PhantomPinned,
}
Expand description
A future to write a slice of buffers to an AsyncWrite
.
Fields§
§writer: &'a mut W
§bufs: &'a [IoSlice<'b>]
§_pin: PhantomPinned
Trait Implementations§
source§impl<W> Future for WriteVectored<'_, '_, W>
impl<W> Future for WriteVectored<'_, '_, W>
impl<'__pin, 'a, 'b, W: ?Sized> Unpin for WriteVectored<'a, 'b, W>where
PinnedFieldsOf<__Origin<'__pin, 'a, 'b, W>>: Unpin,
Auto Trait Implementations§
impl<'a, 'b, W> Freeze for WriteVectored<'a, 'b, W>where
W: ?Sized,
impl<'a, 'b, W> RefUnwindSafe for WriteVectored<'a, 'b, W>where
W: RefUnwindSafe + ?Sized,
impl<'a, 'b, W> Send for WriteVectored<'a, 'b, W>
impl<'a, 'b, W> Sync for WriteVectored<'a, 'b, W>
impl<'a, 'b, W> !UnwindSafe for WriteVectored<'a, 'b, W>
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
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more