Searched refs:TryCollect (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/futures-util/src/stream/try_stream/ |
D | try_collect.rs | 13 pub struct TryCollect<St, C> { 20 impl<St: TryStream, C: Default> TryCollect<St, C> { impl 29 impl<St, C> FusedFuture for TryCollect<St, C> implementation 39 impl<St, C> Future for TryCollect<St, C> implementation
|
D | mod.rs | 90 pub use self::try_collect::TryCollect; 567 fn try_collect<C: Default + Extend<Self::Ok>>(self) -> TryCollect<Self, C> in try_collect() 571 assert_future::<Result<C, Self::Error>, _>(TryCollect::new(self)) in try_collect()
|
/external/rust/crates/futures-util/src/stream/ |
D | mod.rs | 52 TryCollect, TryConcat, TryFilter, TryFilterMap, TryFlatten, TryFold, TryForEach, TryNext,
|
/external/rust/crates/futures/tests/ |
D | auto_traits.rs | 1610 assert_impl!(TryCollect<(), ()>: Send); 1611 assert_not_impl!(TryCollect<*const (), ()>: Send); 1612 assert_not_impl!(TryCollect<(), *const ()>: Send); 1613 assert_impl!(TryCollect<(), ()>: Sync); 1614 assert_not_impl!(TryCollect<*const (), ()>: Sync); 1615 assert_not_impl!(TryCollect<(), *const ()>: Sync); 1616 assert_impl!(TryCollect<(), PhantomPinned>: Unpin); 1617 assert_not_impl!(TryCollect<PhantomPinned, ()>: Unpin);
|