Struct futures_util::io::Flush
source · [−]pub struct Flush<'a, W: ?Sized> { /* private fields */ }
Expand description
Future for the flush
method.
Trait Implementations
sourceimpl<W> Future for Flush<'_, W>where
W: AsyncWrite + ?Sized + Unpin,
impl<W> Future for Flush<'_, W>where
W: AsyncWrite + ?Sized + Unpin,
impl<W: ?Sized + Unpin> Unpin for Flush<'_, W>
Auto Trait Implementations
impl<'a, W: ?Sized> RefUnwindSafe for Flush<'a, W>where
W: RefUnwindSafe,
impl<'a, W: ?Sized> Send for Flush<'a, W>where
W: Send,
impl<'a, W: ?Sized> Sync for Flush<'a, W>where
W: Sync,
impl<'a, W> !UnwindSafe for Flush<'a, W>
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
type Output = <F as Future>::Output
type Output = <F as Future>::Output
The output that the future will produce on completion.
type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more