pub struct DefaultWriteVectored<'a, T: AsyncWriteWith<'a>> { /* private fields */ }
Expand description
A default implementation of WriteVectoredFuture
for
types that don’t have efficient vectored writes.
This will forward to write
with the first nonempty buffer provided,
or an empty one if none exists.
Implementations§
Source§impl<'a, T: AsyncWriteWith<'a>> DefaultWriteVectored<'a, T>
impl<'a, T: AsyncWriteWith<'a>> DefaultWriteVectored<'a, T>
Trait Implementations§
Source§impl<'a, T: AsyncWriteWith<'a>> CompletionFuture for DefaultWriteVectored<'a, T>
impl<'a, T: AsyncWriteWith<'a>> CompletionFuture for DefaultWriteVectored<'a, T>
Source§impl<'a, T: Debug + AsyncWriteWith<'a>> Debug for DefaultWriteVectored<'a, T>where
T::WriteFuture: Debug,
impl<'a, T: Debug + AsyncWriteWith<'a>> Debug for DefaultWriteVectored<'a, T>where
T::WriteFuture: Debug,
Source§impl<'a, T: AsyncWriteWith<'a>> Future for DefaultWriteVectored<'a, T>
impl<'a, T: AsyncWriteWith<'a>> Future for DefaultWriteVectored<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for DefaultWriteVectored<'a, T>
impl<'a, T> RefUnwindSafe for DefaultWriteVectored<'a, T>
impl<'a, T> Send for DefaultWriteVectored<'a, T>
impl<'a, T> Sync for DefaultWriteVectored<'a, T>
impl<'a, T> Unpin for DefaultWriteVectored<'a, T>
impl<'a, T> UnwindSafe for DefaultWriteVectored<'a, T>
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,
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