Struct futures_util::stream::Forward [−][src]
#[must_use = "futures/streams/sinks do nothing unless you `.await` or poll them"]pub struct Forward<St, Si> where
St: TryStream, { /* fields omitted */ }
This is supported on crate feature
sink only.Expand description
Future for the forward method.
Trait Implementations
impl<St, Si> FusedFuture for Forward<St, Si> where
Forward<St, Si, St::Ok>: FusedFuture,
St: TryStream, [src]
impl<St, Si> FusedFuture for Forward<St, Si> where
Forward<St, Si, St::Ok>: FusedFuture,
St: TryStream, [src]fn is_terminated(&self) -> bool[src]
fn is_terminated(&self) -> bool[src]Returns true if the underlying future should no longer be polled.
impl<'__pin, St, Si> Unpin for Forward<St, Si> where
__Origin<'__pin, St, Si>: Unpin,
St: TryStream, [src]
__Origin<'__pin, St, Si>: Unpin,
St: TryStream,
Auto Trait Implementations
impl<St, Si> RefUnwindSafe for Forward<St, Si> where
Si: RefUnwindSafe,
St: RefUnwindSafe,
<St as TryStream>::Ok: RefUnwindSafe,
Si: RefUnwindSafe,
St: RefUnwindSafe,
<St as TryStream>::Ok: RefUnwindSafe,
impl<St, Si> Send for Forward<St, Si> where
Si: Send,
St: Send,
<St as TryStream>::Ok: Send,
Si: Send,
St: Send,
<St as TryStream>::Ok: Send,
impl<St, Si> Sync for Forward<St, Si> where
Si: Sync,
St: Sync,
<St as TryStream>::Ok: Sync,
Si: Sync,
St: Sync,
<St as TryStream>::Ok: Sync,
impl<St, Si> UnwindSafe for Forward<St, Si> where
Si: UnwindSafe,
St: UnwindSafe,
<St as TryStream>::Ok: UnwindSafe,
Si: UnwindSafe,
St: UnwindSafe,
<St as TryStream>::Ok: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<F> IntoFuture for F where
F: Future, [src]
impl<F> IntoFuture for F where
F: Future, [src]type Output = <F as Future>::Output
type Output = <F as Future>::Output🔬 This is a nightly-only experimental API. (
into_future)The output that the future will produce on completion.
type Future = F
type Future = F🔬 This is a nightly-only experimental API. (
into_future)Which kind of future are we turning this into?
pub fn into_future(self) -> <F as IntoFuture>::Future[src]
pub fn into_future(self) -> <F as IntoFuture>::Future[src]🔬 This is a nightly-only experimental API. (
into_future)Creates a future from a value.