pub struct WriteAllVectored<'a, 'b, W: ?Sized> {
writer: &'a mut W,
bufs: &'a mut [IoSlice<'b>],
_pin: PhantomPinned,
}Expand description
A future that writes all data from multiple buffers to a writer.
Fields§
§writer: &'a mut W§bufs: &'a mut [IoSlice<'b>]§_pin: PhantomPinnedTrait Implementations§
Source§impl<W> Future for WriteAllVectored<'_, '_, W>
impl<W> Future for WriteAllVectored<'_, '_, W>
impl<'__pin, 'a, 'b, W: ?Sized> Unpin for WriteAllVectored<'a, 'b, W>where
PinnedFieldsOf<__Origin<'__pin, 'a, 'b, W>>: Unpin,
Auto Trait Implementations§
impl<'a, 'b, W> Freeze for WriteAllVectored<'a, 'b, W>where
W: ?Sized,
impl<'a, 'b, W> RefUnwindSafe for WriteAllVectored<'a, 'b, W>where
W: RefUnwindSafe + ?Sized,
impl<'a, 'b, W> Send for WriteAllVectored<'a, 'b, W>
impl<'a, 'b, W> Sync for WriteAllVectored<'a, 'b, W>
impl<'a, 'b, W> !UnsafeUnpin for WriteAllVectored<'a, 'b, W>
impl<'a, 'b, W> !UnwindSafe for WriteAllVectored<'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<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_cancellation_token(
self,
cancellation_token: &CancellationToken,
) -> WithCancellationTokenFuture<'_, Self> ⓘwhere
Self: Sized,
fn with_cancellation_token(
self,
cancellation_token: &CancellationToken,
) -> WithCancellationTokenFuture<'_, Self> ⓘwhere
Self: Sized,
Similar to
CancellationToken::run_until_cancelled,
but with the advantage that it is easier to write fluent call chains. Read moreSource§fn with_cancellation_token_owned(
self,
cancellation_token: CancellationToken,
) -> WithCancellationTokenFutureOwned<Self> ⓘwhere
Self: Sized,
fn with_cancellation_token_owned(
self,
cancellation_token: CancellationToken,
) -> WithCancellationTokenFutureOwned<Self> ⓘwhere
Self: Sized,
Similar to
CancellationToken::run_until_cancelled_owned,
but with the advantage that it is easier to write fluent call chains. Read moreSource§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§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