Home
last modified time | relevance | path

Searched refs:NextIfEq (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/futures-util/src/stream/stream/
Dpeek.rs178 pub fn next_if_eq<'a, T>(self: Pin<&'a mut Self>, expected: &'a T) -> NextIfEq<'a, St, T> in next_if_eq()
183 NextIfEq { in next_if_eq()
375 pub struct NextIfEq<'a, St: Stream, T: ?Sized> {
381 impl<St, T> fmt::Debug for NextIfEq<'_, St, T> implementation
394 impl<St, T> FusedFuture for NextIfEq<'_, St, T> implementation
405 impl<St, T> Future for NextIfEq<'_, St, T> implementation
Dmod.rs138 pub use self::peek::{NextIf, NextIfEq, Peek, PeekMut, Peekable};
/external/rust/crates/futures-util/src/stream/
Dmod.rs22 Fuse, Inspect, Map, Next, NextIf, NextIfEq, Peek, PeekMut, Peekable, Scan, SelectNextSome,
/external/rust/crates/futures/tests/
Dauto_traits.rs1409 assert_impl!(NextIfEq<'_, SendStream<()>, ()>: Send);
1410 assert_not_impl!(NextIfEq<'_, SendStream<()>, *const ()>: Send);
1411 assert_not_impl!(NextIfEq<'_, SendStream, ()>: Send);
1412 assert_not_impl!(NextIfEq<'_, LocalStream<()>, ()>: Send);
1413 assert_impl!(NextIfEq<'_, SyncStream<()>, ()>: Sync);
1414 assert_not_impl!(NextIfEq<'_, SyncStream<()>, *const ()>: Sync);
1415 assert_not_impl!(NextIfEq<'_, SyncStream, ()>: Sync);
1416 assert_not_impl!(NextIfEq<'_, LocalStream<()>, ()>: Send);
1417 assert_impl!(NextIfEq<'_, PinnedStream, PhantomPinned>: Unpin);