Struct tokio::io::util::write_all_buf::WriteAllBuf
source · pub struct WriteAllBuf<'a, W, B> {
writer: &'a mut W,
buf: &'a mut B,
_pin: PhantomPinned,
}
Expand description
A future to write some of the buffer to an AsyncWrite
.
Fields§
§writer: &'a mut W
§buf: &'a mut B
§_pin: PhantomPinned
Trait Implementations§
source§impl<W, B> Future for WriteAllBuf<'_, W, B>
impl<W, B> Future for WriteAllBuf<'_, W, B>
impl<'__pin, 'a, W, B> Unpin for WriteAllBuf<'a, W, B>where
PinnedFieldsOf<__Origin<'__pin, 'a, W, B>>: Unpin,
Auto Trait Implementations§
impl<'a, W, B> Freeze for WriteAllBuf<'a, W, B>
impl<'a, W, B> RefUnwindSafe for WriteAllBuf<'a, W, B>where
W: RefUnwindSafe,
B: RefUnwindSafe,
impl<'a, W, B> Send for WriteAllBuf<'a, W, B>
impl<'a, W, B> Sync for WriteAllBuf<'a, W, B>
impl<'a, W, B> !UnwindSafe for WriteAllBuf<'a, W, B>
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