pub struct Flush<'a, A: ?Sized> {
a: &'a mut A,
_pin: PhantomPinned,
}
Expand description
A future used to fully flush an I/O object.
Created by the AsyncWriteExt::flush
function.
Fields§
§a: &'a mut A
§_pin: PhantomPinned
Trait Implementations§
impl<'__pin, 'a, A: ?Sized> Unpin for Flush<'a, A>where
PinnedFieldsOf<__Origin<'__pin, 'a, A>>: Unpin,
Auto Trait Implementations§
impl<'a, A> Freeze for Flush<'a, A>where
A: ?Sized,
impl<'a, A> RefUnwindSafe for Flush<'a, A>where
A: RefUnwindSafe + ?Sized,
impl<'a, A> Send for Flush<'a, A>
impl<'a, A> Sync for Flush<'a, A>
impl<'a, A> !UnwindSafe for Flush<'a, A>
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