Struct futures_util::stream::TryCollect [−][src]
#[must_use = "futures do nothing unless you `.await` or poll them"]pub struct TryCollect<St, C> { /* fields omitted */ }
Expand description
Future for the try_collect
method.
Trait Implementations
impl<St: Debug, C: Debug> Debug for TryCollect<St, C>
[src]
impl<St: Debug, C: Debug> Debug for TryCollect<St, C>
[src]impl<St, C> FusedFuture for TryCollect<St, C> where
St: TryStream + FusedStream,
C: Default + Extend<St::Ok>,
[src]
impl<St, C> FusedFuture for TryCollect<St, C> where
St: TryStream + FusedStream,
C: Default + Extend<St::Ok>,
[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, C> Unpin for TryCollect<St, C> where
__Origin<'__pin, St, C>: Unpin,
[src]
__Origin<'__pin, St, C>: Unpin,
Auto Trait Implementations
impl<St, C> RefUnwindSafe for TryCollect<St, C> where
C: RefUnwindSafe,
St: RefUnwindSafe,
C: RefUnwindSafe,
St: RefUnwindSafe,
impl<St, C> Send for TryCollect<St, C> where
C: Send,
St: Send,
C: Send,
St: Send,
impl<St, C> Sync for TryCollect<St, C> where
C: Sync,
St: Sync,
C: Sync,
St: Sync,
impl<St, C> UnwindSafe for TryCollect<St, C> where
C: UnwindSafe,
St: UnwindSafe,
C: UnwindSafe,
St: 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.