[−][src]Struct futures::sink::Flush
Future for the Sink::flush
combinator, which polls the sink until all data
has been flushed.
Methods
impl<S: Sink> Flush<S>
[src][−]
pub fn get_ref(&self) -> &S
[src][−]
Get a shared reference to the inner sink.
pub fn get_mut(&mut self) -> &mut S
[src][−]
Get a mutable reference to the inner sink.
pub fn into_inner(self) -> S
[src][−]
Consume the Flush
and return the inner sink.
Trait Implementations
Auto Trait Implementations
impl<S> RefUnwindSafe for Flush<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for Flush<S> where
S: Send,
S: Send,
impl<S> Sync for Flush<S> where
S: Sync,
S: Sync,
impl<S> Unpin for Flush<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for Flush<S> where
S: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<F> IntoFuture for F where
F: Future,
[src][+]
F: Future,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,